ITween orienttopath x-y-z?

I have an object that need to follow a path 3D (change x-z but also y coordinates) into an inclined plane (45 degreee) + plane terrain (0 degrees) and another climb plane (30° degrees).

If i use the orienttopath, the object rotate for the x-z plane to follow curves od the path, but it is not alligned at inclined planes (y coordinate).

How can I solve this problem?

It’s been awhile since I’ve used iTween, but the behavior seems strange…like there is something else going on here. But let’s assume you are right about iTweens behavior. One solution is to use iTween.PutOnPath() and iTween.PointOnPath(). You would need to create your own timer and manage the percentage yourself. For looking along the path, use PointOnPath() to pick a point with a slightly higher percentage and use Transform.LookAt() to look at that point.

If this also doesn’t work, then you’ll know that the issue is not iTween…that something else in your code is impacting the rotation.