How to do it...

To apply Root Motion to your character using Blend Trees, follow these steps:

  1. Import Character_02.unityPackage into a new project. Also, import the following FBX files:
    • Swat@rifle_run
    • Swat@run_backward
    • Swat@strafe
    • Swat@strafe_2
    • Swat@strafe_left
    • Swat@strafe_right
    • Swat@walking
    • Swat@walking_backward
  2. We need to configure our Animation Clips. From the Project panel, select Swat@rifle_run.
  3. Activate the Rig section. Change Animation Type to Humanoid and Avatar Definition to Create From this Model. Confirm by clicking on Apply:
  1. Now, activate the Animations section (to the right of Rig). Clip rifle_run should be selected. The ...

Get Unity 2018 Cookbook - Third Edition 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.