- Home /
Question by
MohsenEbrahimi · Jul 12, 2011 at 06:57 AM ·
directionrealtimetangent
how to Calculate tangent vector in a path?
hi all. I am using iTween. I have a path with some nodes. I will calculate the direction of path on every frame. how to calculate this?
Comment
Well you want a object to follow the path right? If so use this.
iTween.$$anonymous$$oveTo(gameObject,
iTween.Hash("path", iTween.GetPath("pathName"),
"time", 5));
Answer by MohsenEbrahimi · Jul 12, 2011 at 09:27 AM
I will calculate a Subtract/add the force of the path to the player but player have some options for traversing(a force in time in order to the path force the player to drive on semi path).
Your answer
Follow this Question
Related Questions
(Android) Swiping direction 1 Answer
Change input direction to camera's forward 0 Answers
Units merge into each other with pathfinding 1 Answer
2D TOP DOWN - W A S D as direction 2 Answers