Regarding animator transition landing determination

Asked 2 years ago, Updated 2 years ago, 109 views

I'm a beginner at Unity.
I'm making 2D action games, but I'm having trouble with the animation transition.
So far, we have given players three animations: (Idle) (Walk) (Jump).
However, (Jump) ( (Walk) transition does not work well.
The transition setting is that Velocity.y is 0 and Walk is true if you press the move key, and the other two are false.If this is true, it will replace the animation of the jump with the animation of the walk, but it will produce a lag of about 0.2 seconds.How can I get rid of this rug?
Please do not hesitate to let me know if you have any questions.I look forward to hearing from you.

unity2d

2022-09-30 19:38

1 Answers

Please review whether the transition conditions and details of the animator are set correctly.
If the walk or jump is done immediately from Idle, it should have been configured differently.

·Uncheck Has Exit Time
·Set the blending time to zero


2022-09-30 19:38

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.