- Home /
iTween Path Editor: ignore Y position in Vector3
Hi,
I'm using iTween to move an object on the path through a maze. I define points using iTween Path editor and object then follows them. This works fine but I need an object to fall down and bounce off the ground if there is a gap.
How do I ignore/disable Y component of the movement vector?
Answer by karl_jones · May 20, 2015 at 09:04 AM
A simple solution would be to have a child object that controls the y axis locally. Let iTween control the parent on rails and the child do the bouncing.
Your answer
![](https://koobas.hobune.stream/wayback/20220613200025im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to find the direction to translate an object, to move towards a point, regardless of rotation? 1 Answer
How to make a Direction Indicator to show where and object is going? 1 Answer
How can I move character controller in one direction 0 Answers
How do I turn 1 objects rotation into another objects movement direction? 1 Answer
Calculate direction of travel. 3 Answers