K
K
KirillSystem2022-04-18 21:04:00
Graphic arts
KirillSystem, 2022-04-18 21:04:00

How to make a transition between animations when a character collides with an object?

Good evening, I ran into such a problem

. I created three animations for the character (I probably won’t use the third one)

1 animation: a character named Gumball T. blinks his eyes

2 animation: the character caught an inedible object

I had no problems with the first animation, it cycles as it should.

But I can’t figure out the second one ...

I want to make it so that it is reproduced as soon as a brick or something else that is not edible falls on the character instead of food.

And so that after the animation is played, 1 animation immediately returns.

But I don’t know how to implement it ... I only found how to make a walking animation (but it’s not really needed in this game)

If I'm not looking well, please send a link to a tutorial on creating an animation change when colliding with an object.

And I don’t understand at all how to disassemble animations in Unity ...

Thanks in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kerim Rezai Shirazi, 2022-04-19
@judge971

eccentric game look on youtube there is something about animation

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question