CHAPTER 16

image

Mecanim and Characters

Before you can hook up the dialogue you created in the previous chapter, you will have to set up a couple of characters. New to Unity 4.0 was the character animation system, Mecanim. With Mecanim, you can use animation clips from one humanoid character on most any other similar characters.

It also comes with a nice state machine that takes a lot of the painful scripting out of triggering different clips or behaviors. More important, it handles masking and blending with ease. Masking allows you to override parts of characters, while the rest of the character’s body continues to use the original animation clip. ...

Get Beginning 3D Game Development with Unity 4: All-in-One, Multi-Platform Game Development, Second Edition 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.