Skip to reading
The Cutscene Designer

25. Use animation states and imported clips

Edition 0.86.4.3

0.86.4.3 edition with revised lessons, updated cross-references and new cinematic/camera-safety supplements. Earlier examples, screenshots and registry figures retain their stated edition context.

Download PDFView illustrations

Animation states give your project readable names such as idle, walk, nod and explain. They map to the real clips in the assigned model. Verify those mappings in Character Designer before scheduling gestures.

Figure 14. The bundled characters list mapped states. Select a state to inspect its exact clip.

Source table from 25. Use animation states and imported clips, page 29
Action / valueMeaning
SetCharacterState: stateId nodRequests the character’s mapped nod state.
PlayAnimation: clip nodCan use the mapped state where available; imported clip names must match real content.
Block Duration 0.5A place in the schedule; it does not retime or trim the source model clip.
Code example
{
  "type":"SetCharacterState",
  "entityId":"player",
  "stateId":"nod"
}

Place the nod at 14.7 seconds. Let the earlier speech finish first. Automatic talk animation and a gesture on the same actor can otherwise replace one another.

If the actor slides or changes position unexpectedly, inspect root motion, model alignment and the state mapping. A timeline cannot supply an animation the model does not contain.

Page 29 of 78Permalink
Go to page