Legacy Documentation: Version 4.6
Language: English
Inverse Kinematics (Pro only)
Bringing Characters to Life

Generic Animations in Mecanim

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

The full power of Mecanim is most evident when you are working with humanoid animations. However, non-humanoid animations are also supported although without the avatar system and other features. In Mecanim terminology, non-humanoid animations are referred to as Generic Animations.

To start working with a generic skeleton, go to the Rig tab in the FBX importer and choose Generic from the Animation Type menu.

Root node in generic animations

While in the case of humanoid animations, we have the knowledge about the center of mass and orientation, in the case of Generic animations, the skeleton can be arbitrary, and we need to specify a reference bone, or the “root node”. Selecting the root node allows us to establish correspondence between animation clips for a generic model, and blend properly between animations that are not “in place”. The root node is also essential for separating animation of bones relative to reach other and motion of the root in the world (controlled from OnAnimatorMove).

Inverse Kinematics (Pro only)
Bringing Characters to Life