- Home /
Question by
Brogrammar · Jul 30, 2017 at 12:02 AM ·
waypointpathing
Making uniform waypoint paths in iTween
With the iTween plugin, I'm trying to make my character move at a dynamic speed on set paths. How I'm doing it right now is with the iTween.PutOnPath command with the percentage being calculated by the player's current speed which can vary heavily making the MoveTo command infeasible.
The way iTween is setup by default though is that it automatically makes curves and bends in any path that holds more than 2 points making very linear paths extremely tedious to make.
I've tried editting the iTween code myself only to run into Vector math that I'd rather not try to wrap my head around.
Is there a method of making iTween use linear paths or am I forced to make numerous 2 point paths?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612131506im_/https://answers.unity.com/themes/thub/images/avi.jpg)