Hi , i want to move player on path (more than one path) i use iTween to do this but when i trying to change path its start to move from start point of other path , but i want to player continue way from current point in other path , how can i do this ?
thanks
One way to do it would be to use 4 different invisible game objects to follow each path at the same speed.when the player switch path, move it to the next path gameobject position and parent them and un-parent the player from the gameobject on the previous path.
is there any solution about this question please?
hmm, it sounds reasonable. i will try it, thanks OBT.
by the way correct me if i’m wrong, it should be really easy to change the active “path” during moving action by using any related movement function such as MoveTo or something else…
A quick think, not verified:
- record your current path’s using percent (
PathLength
) - change path, and use
PutOnPath
with that percent - may need
MoveUpdate
rather thanMoveTo