Animating the character for the game
Once we have applied these settings to the character, we will now use it for our scene.
- Drag-and-drop the prefab labeled
zombie_hiresby navigating to Assets | ZombieCharacterPack to the scene, change its position to (x=0, y =0, z=0), and add a collider to the character.
- Select: Component | Physics | Capsule Collider.
- Set the center position of this collider to (x=0, y=0.7, z=0), the radius to
0.5, the height to
2, and leave the other options as default, as illustrated in the following screenshot:
- Select: Assets | chapter5 | chapter5_pack; you will see that it includes several animations, including