To import and animate a 3D human model, follow these steps:
- Start a new 3D project and ensure you are logged in to your Unity account in the Unity Editor.
- Download, unzip, and import the FBX version of the free Carla model from www.free3d.com (or use some other FBX human model).
If any files have a forward or backslash character (for example /) in them, such as tex/imagename.jpg, then remove this character. Otherwise, Unity may not be able to import all the files. If there are multiple versions of the model, then choose the Y-up version for use in Unity.
- Select the Carla model in the Project panel.
- In the Inspector window, select the Rig tab, change the animation type to Humanoid, and then click the Apply button:
Figure 7.28 – Setting the model's rig type to Humanoid
- You'll now see a new file in the folder for your character, ending with the word Avatar. If you select this file in the Project panel and then, in...