generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Got some questions about MoveTo

Previous Thread :: Next Thread 
mrpricetoyou is not online. mrpricetoyou
Joined: 25 Nov 2011
Total Posts: 5160
14 Apr 2012 02:01 PM
First of all I think I might've made this piece of code up (I don't know if I copied it down right)...

game.Workspace.Wave:MoveTo(0,0,0) --Is this where you put the position you want so called "Wave" to go?

Will it move as if you C-Framed it or will it move slowly?
Report Abuse
TwoBoo is not online. TwoBoo
Joined: 08 Feb 2011
Total Posts: 10790
14 Apr 2012 02:04 PM
If wave is a part or model, you would use moveto like this,

game.Workspace.Wave:MoveTo(Vector3.new(0,0,0), game.Workspace.Base)

It would move the wave to the coordinates 0,0,0 on the baseplate.
Report Abuse
mrpricetoyou is not online. mrpricetoyou
Joined: 25 Nov 2011
Total Posts: 5160
14 Apr 2012 02:05 PM
Wave is a model
Report Abuse
Phellem is not online. Phellem
Joined: 04 Aug 2011
Total Posts: 1984
14 Apr 2012 02:21 PM
:MoveTo won't be CFramed.
It will be like Position.

Ex.

workspace.Part.Position = workspace.Base.Position
Part will be above Base.



If you want the model to CFrame, use MrNicNac's code.
http://www.roblox.com/Forum/ShowPost.aspx?PostID=66088685
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
14 Apr 2012 02:35 PM
MoveTo isn't a CFrame. It's a position, and it moves the WHOLE model(doesn't move slowly).
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
14 Apr 2012 02:36 PM
Ga, forgot my temporary sig,

http://www.roblox.com/KasperLabs-ROBLOX-Anti-Virus-item?id=77462539 -- Why not take it? It works!
Report Abuse
Vitouliss14 is not online. Vitouliss14
Joined: 18 Mar 2009
Total Posts: 7918
14 Apr 2012 02:41 PM
@TwoBoo

Why did you put the other arugments???? That's for humanoids not for moving models as a whole.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image