G
G
GmDvlpr2019-12-25 05:40:14
Unity
GmDvlpr, 2019-12-25 05:40:14

What's wrong with Animation in Unity 2D?

I'm trying to make a transition between the animation of running and rest, but the joke is that the animation is played in full, and I need it to switch to another animation at any time when I press the button, it turns out that when I press left or right, then all the frames from rest animation are played, and then there is a run animation.
When the button is pressed, the character moves, and he is in the rest animation for several milliseconds, the same with running, how to fix it?
has exit time unchecked, because with the function enabled, the animation responds even longer

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Gaydak, 2019-12-25
@MrMureno

https://habr.com/ru/company/playgendary/blog/470499/
I can suggest you read this article. you will almost certainly find the answer for yourself in it and in general the general idea will be better.
and so most likely you have a long fixed transition time left.
but it is better to read and then read more - and it will become better and more understandable)))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question