Version: 2017.3 (switch to 2017.4)
Model Importer: Model
Model Importer: Animations
Other Versions

Model Importer: Rig

The Rig tab allows you to assign or create an avatar definition to your imported skinned Model so that you can animate it. See documentation on Asset Preparation and Import for more details.

By default, the Rig tab looks like this:

The Rig tab with Animation Type set to None
The Rig tab with Animation Type set to None

There are three Animation Type options:

  • Generic
  • Humanoid
  • Legacy

Animation Type: Generic

If you have a non humanoid character e.g. a quadruped, or any animatable entity that you wish to use with Mecanim choose Generic. After choosing you will then need to identify a bone in the drop down to use as the root node.

The Rig tab with Animation Type set to Generic
The Rig tab with Animation Type set to Generic

Animation Type: Humanoid

If you have a humanoid character (ie, two legs, two arms and a head) then choose Humanoid and ‘Create from this model’. An Avatar will be created to best match the bone hierarchy - see Avatar Creation and Setup or you can pick an alternative avatar Definition that has already been set up.

The Rig tab with Animation Type set to Humanoid
The Rig tab with Animation Type set to Humanoid
Property: Function:
Animation Type The type of animation.
None No animation present
Legacy Legacy animation system
Generic Generic Mecanim animation
Humanoid Humanoid Mecanim animation system
Avatar Definition Where to get the Avatar definition
Create from this model The Avatar should be based on this model
Copy from other Avatar Point to an Avatar config set up on another model.
Configure… Go to the Avatar configuration
Optimize Game Object When turned on, the game object transform hierarchy of the imported character will be removed and stored in the Avatar and Animator component. The SkinnedMeshRenderers of the character will then directly use the Mecanim internal skeleton. This option improves the performance of the animated characters. You should turn it on for the final product. In optimized mode skinned mesh matrix extraction is also multithreaded.

Animation Type: Legacy

Choose legacy if you wish to use the legacy animation system and import and use animations as with 3.x.

The Rig tab with Animation Type set to Legacy
The Rig tab with Animation Type set to Legacy

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答