Animation along a path ? #713
-
I would like to know if there is a simple way to animate an object along a path ? I have this three example : Here is the temporary link to my project. If you click on the character you will see the walk animation. Thank you ! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, you can just set the position of the object with an |
Beta Was this translation helpful? Give feedback.
Yes, you can just set the position of the object with an
onFrame
handler. It's up to you how to compute the new position: you could just linearly interpolate between two points for a straight line, walk along a particular axis, decide the new positions dynamically from user input or an AI system, or whatever.