Hello everyone.
I'm using iTween's MoveTo to move my gameobject along a path and everything works fine.
My problem is, the rotation of the gameobject stays the same while he is moving along the path.
I want him to rotate in the direction of the path.
This is my line of code:
iTween.MoveTo(gameobject, iTween.Hash("path", iTweenPath.GetPath("MyPath"), "time", 500));
Thanks!
↧