iTween MoveTo/MoveUpdate

Hello everyone.

Right now I’m using MoveTo with iTweenPath to move my gameobject.

My problem is that I want to change the last node in the path during runtime.

I managed to do that trough code, but it didn’t really effect the animation.

So I looked at the documentation and then I saw MoveUpdate, which seems like what I need.

The problem is, it seems like MoveUpdate doesn’t accept a path.

So I’m clueless.

Any ideas?

Thanks!

I think, you can use ‘PutOnPath’ along with ‘PointOnPath’ functions to achieve your goal.