Initialize Locomotion Data

 
 
 

Sets initial values for pedestrian simulations.

This compound should be used in the Modeling region on the Point_Cloud object of a CrowdFX simulation, after particles are emitted.

Tasks: Crowds/Initialize

Output Ports: Execute

Actor ID

The actor source instantiated by a particle, where 0 is the first actor added to the simulation, 1 is the second, and so on. See Loading Actors for the Crowd Simulation.

Initial Pose State ID

The actors' pose state at the beginning of the simulation. This controls which animation source is used. See How Action Sources Are Used in the Crowd Simulation.

Initial Frame

Animation offset to apply at the beginning of the simulation. You can randomize this so that all actors don't start at the same frame.

Animation Sources

Use Single Animation_Sources

Uses the imported animations from a single actor source, regardless of which source mesh is instantiated by each actor. To use this option, all deformation rigs must be compatible.

Source

The actor source whose animations to use, when Use Single Animation_Sources is true.

Idle

For more information on Idle, Walk, and Run, see Controlling the Actor's Animation.

Idle Transition Duration

The number of frames to blend when switching to the idle animation cycle.

Walk

Walk Min Speed

The minimum speed at which to use the walk animation cycle.

Walk Transition Duration

The number of frames to blend when switching to the walk animation cycle.

Run

Run Min Speed

The minimum speed at which to use the run animation cycle.

Run Transition Duration

The number of frames to blend when switching to the run animation cycle.

Stride

The Stride parameters are used to scale down the length of actors' strides when walking at very slow speeds. This generally gives better-looking results than simply playing the animation very slowly. These parameters work in conjunction with Crowd Stride Control.

For more information, see Initialize Move Locomotion Data.

Walk stride before scaling

 

Shorter stride used at very low speed

 

Min Walk Stride Scale

Stride lengths will not be scaled lower than this value. Use values between 0 and 1 to scale down.

Max Stride Speed

Stride lengths will not be scaled when moving above this speed.

Enable Stride Scaling

Toggles stride scaling on and off.

On Init

Connect execute-type ports to perform further operations when actors are initialized.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License