Reader small image

You're reading from  Unity 5.x Animation Cookbook

Product typeBook
Published inMay 2016
Reading LevelExpert
PublisherPackt
ISBN-139781785883910
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Maciej Szczesnik
Maciej Szczesnik
author image
Maciej Szczesnik

Not interested. Too busy with current game project. Source: Linkedin.
Read more about Maciej Szczesnik

Right arrow

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 Walkanimation 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:

  1. First, follow all...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Unity 5.x Animation Cookbook
Published in: May 2016Publisher: PacktISBN-13: 9781785883910

Author (1)

author image
Maciej Szczesnik

Not interested. Too busy with current game project. Source: Linkedin.
Read more about Maciej Szczesnik