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 7. Controlling Player Animation with Blend Trees

In Chapter 3, Interacting with the Environment, we introduced the player character model and set up the player's animator controller with a few basic animation sequences. The player can walk, shoot, and pick up items.

The motion sequences were set up in separate states in the controller's base layer to define how the character would transition through its motion sequences. In the transitions that link the states together, we used a Boolean operator to determine when the player would shoot or pick up an item.

In this chapter, we will explore a further level of animation blending within Mecanim. Blend Trees are specialized states that can contain many motion sequences.

The use of Blend Trees ...

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