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 will add a further level of realism to the game, by blending in subtle animation variations based on the player's input.
In this chapter, you will learn to:
- Implement a Blend Tree to add strafe animation to the existing player...