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

Updating the animator controller to include the face animation

In the previous chapter, we created masks for various parts of the body to add variation to our stock animation sequences. The animator controller connected to the zombie in our current scene is set up the same way, there are just a few changes that need to be made:

  1. Click on the zombie_f game object in the Hierarchy panel to select it.
  2. Click on the Animator tab in the top center of the Unity interface to switch to the Animator panel.
  3. In the top left of the Animator panel, click on the Layers tab to activate it.

The zombie's animator controller consists of a base layer containing two states: Idle and Walk. We need to create a new layer for the face animation:

  1. In the top left of the Animator ...

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