Mecanim Introduction
Mecanim animation System is a new set of animation system introduced by unity3d4.0, which mainly provides the following 4 functions:
- Provides a special set of workflows for humanoid characters.
- The ability to redirect animations can easily be applied to other role models from a role model.
- Provides a visual animation editor that makes it easy to create and preview animated segments.
- Provides a visual animator editor that allows you to easily manage the state of multiple animation transitions.
Preparation of the workflow model
Unity cannot make 3D models and skeleton bindings, which need to be made in professional modeling software, typically used in the following types of modeling software:
- 3DMax
- Maya
- Cinema4D
- Blender
- Mixamo
After the art has made the resources, we just need to import these resources into the unity3d to use.
Role settings
The resources imported into Unity3d require some simple setup, which is divided into the following two settings:
- The setting of the humanoid character;
- The settings for the generic role.
Let the character movement
The Unity3d Mecanim provides a variety of tools to configure the animation so that it can play normally, the common Mecanim module is as follows:
- Animated clips (Animation clip)
- Animation state machine (machines)
- Blend trees (blend tree)
- Animation parameters (Animation Parameters)
Example
Learning animation system needs to have specific animation files and resources, here we use the official sample scene, you can download to the Unity Asset store, the address is as follows:
https://www.assetstore.unity3d.com/en/#!/content/5328
Using Unity5.0
Although Mecanim is 4.0 launched system, but I still use Unity5.0 to study, of course, for Mecanim, using 4.x or 5.x will not be too big difference.
Unity3d's Mecanim Animation system learning Note (i): Understanding Mecanim Animation System