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 » Scripters
Home Search
 

Re: MoveTo() Function

Previous Thread :: Next Thread 
Zenuvius is not online. Zenuvius
Joined: 26 Aug 2014
Total Posts: 551
24 Jun 2015 05:54 PM
I came across this interesting function here,

http://wiki.roblox.com/index.php?title=API:Class/Model/MoveTo

it says, " Moves the center of the PrimaryPart to the given position. "

So I made a model with two parts, model named Ant, one part named "Body", set the PrimaryPart of the model to the Body.

Then I ran a script " game.Workspace.Ant:MoveTo(Vector3.new(50,4,50))

I was expecting the ' Ant ' to kinda move slowly to the specified position, but much to my disappointment it teleports the Ant to the Position instead, kinda similar to what we do with CFrame.new, is that how it's supposed to be or am I doing something wrong here ?
Report Abuse
Badlittlekevin1O1 is not online. Badlittlekevin1O1
Joined: 04 May 2013
Total Posts: 3322
24 Jun 2015 05:56 PM
yes lol
if you expect tweening or some affects like that nope, It's function is teleportation


-Baheeg
Report Abuse
Zenuvius is not online. Zenuvius
Joined: 26 Aug 2014
Total Posts: 551
24 Jun 2015 05:58 PM
Aww, just when I thought I don't need to do all the magnitude and position thingies anymore xD
Report Abuse
camhorto is not online. camhorto
Joined: 18 Apr 2011
Total Posts: 32
24 Jun 2015 05:59 PM
Programming isn't that convenient. :D
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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