Chapter 7. Controlling 3D Animations

In this chapter, we will cover:

  • Configuring a character's Avatar and idle animation
  • Moving your character with root motion and Blend Trees
  • Mixing animations with Layers and Masks
  • Organizing States into Sub-State Machines
  • Transforming the Character Controller via script
  • Adding rigid props to animated characters
  • Using Animation Events to throw an object
  • Applying Ragdoll physics to a character
  • Rotating the character's torso to aim a weapon

Introduction

The Mecanim animation system has revolutionized how characters are animated and controlled within Unity. In this chapter, we will learn how to take advantage of its flexibility, power, and friendly and highly visual interface.

The big picture

Controlling a playable character ...

Get Unity 5.x Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.