I
I
i__egor2019-01-22 15:26:16
Unity
i__egor, 2019-01-22 15:26:16

In Unity3d how to animate an object relative to its current position?

For example, a 2D game, we need a jump animation (not only the position changes), I wanted to do it with the help of animation. The animation is played clearly along the curve, but it is necessary that: position = current position + offset position.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Gaydak, 2019-01-22
@i__egor

Usually they just create an empty parent object, above the animated one) then the animation will be played relative to it)) there will be a local position and rotation, etc.))
the most painlessly simple way

K
Konstantin Kitmanov, 2019-01-22
@k12th

Check that you are recording an animation when this button is in the Local position:
5c471d5b23628192276633.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question