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 |
|
|
| 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
|
  |
| 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
|
  |
| Joined: 18 Apr 2011 |
| Total Posts: 32 |
|
|
| 24 Jun 2015 05:59 PM |
| Programming isn't that convenient. :D |
|
|
| Report Abuse |
|