Using animations for better looking transitions
You've probably already noticed that sometimes when our character stops walking, it blends to the Idle
animation in a strange way (with sliding feet). That is mostly visible when legs in the Walk
animation are in a pose that looks like a mirrored Idle pose. We are going to fix this problem in this recipe.
Getting ready
You should use the same character as in the previous recipe and prepare one additional animation that will be a transition from a mirrored Idle pose to a normal Idle pose. You can also go to the Chapter 04 Character movement\Recipe 04 Using animations for better looking transitions
directory and open the Example.unity
scene. You will find our Humanoid character working the same way as in the previous recipe, but with a ToIdle
animation added. You can also find the rig with all required animations in the Rigs
directory.
How to do it...
To use additional animations for a better-looking transition, follow these steps:
- First, follow all...