|On this page|
Clip Transition Graph
A crowd object’s clip transition graph may optionally be used to control transitions between states and animation clips. It provides information about which clips are allowed to transition to each other, and where in the clips those transitions should occur. This can be used by the Crowd Transition DOP to delay state transitions until an appropriate point in the current animation clip, and to smoothly blend into the next clip. Additionally, the clip transition graph allows per-clip control over this behavior (which is useful if the transition’s Input State parameter specifies multiple states, or if Randomize Clips is enabled for any of the input states).
The Test Simulation: Crowd Transition SOP can be used to quickly preview transitions between particular clips before setting up a crowd simulation.
Each point in the clip transition graph geometry represents an animation clip, and each two-point polygon represents a (one-way) transition between the clips. During a state transition, if the points corresponding to the input and output states' animation clips are not directly connected, the Crowd Transition DOP will use the shortest path between the two clips.
Specifies the name of an animation clip.
This string is matched with the agent’s
For each transition region, specifies the duration (in seconds) of any transitions which start in that region.
For each transition region, specifies a pair of clip times (in seconds) where the two animation clips have a similar pose.
Specifies ranges of clip times (in seconds) for the first animation clip where a transition is allowed to occur.
Only affect a group of agents.
A string pattern that specifies which states to transition out of. The state names correspond to the State Name parameter on a Crowd State node. The pattern follows the same syntax as the match VEX function.
*will match all states.
* ^walkwill match all states except for the
walk run_*will match the
walkstate and all states whose names begin with
Name of the state to transition into. This corresponds to the State Name parameter on a Crowd State node.
Set Output Clip
Overrides the default clip selection behavior when transitioning to the Output State. Normally, the Output Clip is chosen based on the output state’s Clip Assignment parameters.
When Set Output Clip is enabled, specifies the clip to transition to when entering the Output State. The clip can be adjusted per-agent using VEXpressions.
Enables using a local expression to override the Output State or Output Clip for each agent.
Adds a random delay between when the trigger evaluates to true and when the transition begins. This is useful to avoid having many agents starting the transition at the same time.
Max Random Delay
If Random Delay is enabled, specifies the maximum delay (in seconds) before the transition starts.
Specifies the seed used when selecting a random delay time.
Use Clip Transition Graph
The crowd object’s clip transition graph may optionally be used to control transitions between states and animation clips. This can be used to delay transitions until an appropriate point in the current animation clip, use intermediate transition clips, and also provides information about how to smoothly blend into the new clip. Additionally, the clip transition graph allows per-clip control over this behavior (which is useful if the Input State parameter specifies multiple states, or if Randomize Clips is enabled for any of the input states).
Length of the transition between states (in seconds).
Specifies how the crowd solver should blend between the Input State and Output State as the transition progresses.