|On this page|
In response to a trigger, the Crowd Transition DOP switches the agent to a new state, and also switches the agent from playing the clip associated with the old state to playing the clip for the new state.
The Crowd Transition node has simple controls for blending between the animation clips of the “before” and “after” states. If you need more control (for example, waiting for a certain frame to start the transition, or transitioning through intermediate clips between the start and end clips), you can set up a transition graph.
A transition graph stores detailed information about how to transition between different clips. For example, the graph may specify:
walkclip transition at frame 16.
First transition from
Then transition from
Transition graphs are more work to set up, but give you much more control over transitions. If the default blended transitions look good enough at your level of detail, it may not be necessary to use transition graphs.
How to set up a transition graph
After you load/generate the agent primitive in SOPs, append an Agent Clip Transition Graph SOP to the agent. Set up the different transitions in the parameters.
On any Crowd Transition DOPs for the state changes that should use the graph, turn on Use Clip Transition Graph.
Tips and notes
The Agent Clip Transition Graph SOP stores the relationship graph as geometry, where points represent clips and polylines represent transitions, with data stored in attributes. This allows the possibility of creating your own custom tools to generate or edit the graph.