How to use PathManager.MoveBodyOnPath?

Topics: User Forum
Jan 16, 2011 at 4: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 7: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 7:48 PM


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