- Home /
iTween MoveTo localPosition not working as expected
I've created a path using iTweenPath based on local coordinates which the path should follow.
I've put this in my script to start moving my object:
iTween.MoveTo(particleEffect, iTween.Hash("path", iTweenPath.GetPath("PillowParticle"), "islocal", true, "time", 3));
The object does not follow the path as expected. For some reason, the object starts from it's word position and THEN it follows the path. I don't want the object to start from it's word position but from the first coordinated of the path. How can I fix this?
Answer by Sajidfarooq · Aug 18, 2013 at 07:28 PM
You need to set "movetopath" to false.
Well, to be fair, its not that clearly mentioned in the docs. You have to "guess" what it means a bit.
Your answer
Follow this Question
Related Questions
how to cancel iTween Catmull-Rom path 1 Answer
ITween orienttopath x-y-z? 1 Answer
iTween makes a weird start on the path 1 Answer
How do you create random paths in iTween? 0 Answers
iTween even velocity 9 Answers