Book Image

Building Levels in Unity

By : Volodymyr Gerasimov
Book Image

Building Levels in Unity

By: Volodymyr Gerasimov

Overview of this book

Table of Contents (17 chapters)
Building Levels in Unity
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
4
Dealing with Basic Animations
Index

The animator controller


Animation control is a tedious and complicated process. Mandatory proficiency in programming for all developers who used the Legacy animation system pretty much resulted in animation control being fully delegated to programmers writing state machine codes. Well, that's not the case anymore. A little bit of coding is still required, however, it plays more of a support role since major work is now done in Visual Editor, which allows animators to take full control of how and when animations are played, setup transitions, limitations, and control them with conditions. This new system is known as Mecanim.

To avoid skepticism, I will stop singing the praises of the system itself and give you a hands-on experience of how it really works.

But before we do that, there are a few things we need to take care of:

  1. Create a prefab for the Robot and drag it into the scene.

  2. Open Asset Store by navigating to Window | Asset Store in the menu on top of the screen.

  3. Type Raw mocap data for...