I
I
i__egor2019-01-31 04:29:58
Unity
i__egor, 2019-01-31 04:29:58

How to fix jump animation in unity3d?

Hello! There is an animation of jumping to a clearly defined position. There is a Player object, it has a child with a model and an Animator component. The bottom line is that at the moment of the jump, the animation starts playing, and as soon as it reaches the end (set event at the end of the animation), in the event function a the character first moves forward one position, then the trigger to exit the jump animation fires. The move is triggered before the animation ends. As a result of this, it turns out that the player “leaves” forward for a fraction of a second (if you first give a signal to exit the animation and then do the same move). How to make the player simultaneously move to the final position and cut down the animation (go to rest)?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question