How to do it...

To configure a generic rig you need to follow these steps:

  1. Import your animated asset into Unity the same way as in the Importing skeletal animations recipe.
  2. Select the asset and choose the Rig tab in the Inspector. Then select the Generic option in the Animation Tab drop-down menu. If you are using the provided example Unity Project, select the Generic.fbx file in the Chapter 01 Working with animations\Recipe 02 Configuring generic and humanoid rigs\Rigs directory.
  3. Choose the Create From This Model option from the Avatar Definition drop-down menu.
  4. Leave the Root Node option set to None.
  5. Leave the Optimize Game Objects option unchecked.
  6. Click on the Apply button to complete the configuration.

Humanoid rig configuration has ...

Get Unity 5.x Animation Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.