This project has moved and is read-only. For the latest updates, please go here.

How to use PathManager.MoveBodyOnPath?

Topics: User Forum
Jan 16, 2011 at 5:05 PM


I don't get the parameters of this function. :/

path: The path to follow

body: The body following the path

time: ?? Something between 0 and 1 to define the position on the path?

strength: ??

timeStep: ??


Any help would be very appreciated. :)

Jan 16, 2011 at 8:34 PM

The method moves the supplied body on the path given. You should take a look at the Testbed sample that uses the function. It might help explain it a little more.

I'll change the comments to better explain what it does.

Jan 16, 2011 at 8:48 PM


yeah, the Testbed solved my issues, thanks a lot. :)