O'Reilly logo

Unity 4 Game Development HOTSHOT by Jate Wittayabundit

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 4. Add Character Control and Animation to Our Hero/Heroine

Here we are in part two of hero/heroine. In this project, we will make our character come to life using the Mecanim animation system (the new animation system in Unity 4.x, which allows us to easily set up the complex character animation) and some custom scripts to control our character to walk, jump, and run with smooth transition from one animation to another.

Why Mecanim? The advantage of the Mecanim animation system in Unity is that we can use the animation from different characters and retarget the animation. This is a very convenient way to reuse the same animation on a different character.

We will learn the basics behind the Mecanim animation system and the Animator Controller ...

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