How to do it...

To use motion capture data for Humanoid characters, follow these steps:

  1. First we need to create a rig suitable for Unity's Humanoid characters. In Blender, creating such a rig is quite easy. First enable the Rigify add-on and create a new Human (metarig) object from the Armature section.
  2. This rig has almost the same structure as Unity's Humanoid rig, but we need to adjust a few things. First, edit the rig and delete the heel.Lheel.Rheel.02.L, and heel.02.R bones from the feet.
  3. Then delete the palm.01.Lpalm.02.Lpalm.03.Lpalm.04.Lpalm.01.Rpalm.02.Rpalm.03.R, and palm.04.R bones from the hands.
  4. This gives us a proper Unity Humanoid rig. We can also adjust the T-Pose (a Rigify rig is created in a more relaxed ...

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.