O'Reilly logo

Unity Character Animation with Mecanim by Jamie Dean

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Talking Heads

In this chapter, we will demonstrate the implementation of basic facial animation with Mecanim. Mecanim's Humanoid animation type has a small predefined set of bones that will accommodate face animation. This can be layered within the animator controller, effectively separating body and face animation to be triggered under different conditions.

There are several valid reasons due to which we may want to separate out face and body animations—we want the player to be given a sign that the enemy has spotted them. We do not have a way of determining what state the enemy character is in when they spot the player. We do not want them to immediately attack, however, we want to give the player an opportunity to react before the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required