- Home /
iTween path following on mouse click
Hey:
I'm looking for movement controller that has the following requirements:
It is not affected by gravity
It discovers the path since some times need to go on zig-zag up/down paths
It works on mouse click. When player clicks over some area, the controller calculates the nearest position of
the path and moves the game object to that position.It allows to the game object to detect collisions.
It allows me to follow the path without rotating the object (it is a 2d game, so instead of rotating the plane, I change gameobject localScale.x to change the texture
orientation)
I don't know if iTween is the option to allow this. I have done some research about the tool and still did not found an example that works with the mouse click. Does ITween support "move on click" over path following? I'm trying to discover this before buying the tool. Thanks a Lot.
Your answer
![](https://koobas.hobune.stream/wayback/20220613081618im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Sprite moves infinitely on x axis 0 Answers
Rotating game object using UI Joystick 0 Answers
independent arm from body - unity2d 0 Answers
2d Platform Controller Face Help 1 Answer
MMD How to export model and animations to Unity as 3rd person controller? 2 Answers