Scale and orientation
6. Characters, models and animation
If the game shows only a polygon or capsule, first check Model Asset on the reusable Character. Adding animation states does not assign a body. Also check that the room instance refers to the intended character definition and that its asset is enabled, visible and available.
Static models can be fitted to a desired height. Skinned models have a skeleton and should keep their rig transforms. Use Raw Model Scale and Model Offset to correct a skinned model deliberately. A giant bind-pose box is not a good reason to repeatedly auto-fit an animated character.
If a character walks backward, check Model Facing Offset before rotating all of its animation clips. If its feet slide while the body moves, compare Walk Speed with the clip speed and check root-motion settings. Lock Root Motion keeps the animation from translating the actor a second time.
Animation States#
Figure 9. Animation states name the role of a clip. The actual imported clip name can be much less friendly than idle or walk.
Add an idle state and a walk state, select a clip from the assigned model, set looping and speed, and choose the default state. Preview a state to check it. Then test the character walking through a room; a clip preview alone cannot show navigation speed or collision.
Imported clips must fit the model's skeleton and animation paths. Selecting a clip from an unrelated character is not automatic retargeting. Use the supplied Clockmaker rigs unchanged during these lessons; customize them after the example works.
