When you select a model to use as an actor in CrowdFX, you must select and load the action sources that it will use in the crowd simulation. The action sources must be defined in the source model's Mixer > Sources > Animation node so that you can load them. These action sources can be locomotion moving in global space, locomotion "in place" (such as a walk cycle that is done in the model's local space), or stationary (such as waving, standing, or sitting).
To load action sources for an actor:
Put the action sources in the Selected Actions list in top-down order, going from the slowest to fastest speed (for blending purposes).
For more information about action sources, see How Action Sources Are Used in the Crowd Simulation.
The actor's COG (center of gravity) is a deformer in the actor's rig whose horizontal speed (in the global Z direction) is used for calculating the actor's velocity for locomotion in the simulation.
When you import action sources for an actor, the COG in the actor's rig is automatically determined as the deformer whose Position X value is closest to zero and is closest to the center of the actor mesh's bounding box, such as the hip deformer. If this isn't the correct deformer for your rig, you can assign a different deformer as the COG as described in Modifying the Actor's Rig.
For the default pedestrian model shown below, the default COG is the hip deformer.
In the CrowdFX Actor Proxy Property Editor, you can select or deselect the Use Center of Gravity option depending on the type of animation in the action sources you're loading.
If you're loading a mixture of animation types in several action sources, you need to load the animation in two passes. You can do this in two ways:
Select only the action sources of one type, such as only the locomotion types that are moving in global space.
Select or deselect the Use Center of Gravity option to match the type of animation you're loading.
Click the Selected button below the list to load only the selected actions.
After these are loaded, select the other types of action sources in the list, such as stationary and "in place" locomotion types.
Toggle the Use Center of Gravity option and click the Selected button again to load these actions.
Load only one type of action source into the Selected Actions list.
Select or deselect the Use Center of Gravity to match the type of animation you're loading.
Select those action sources and move them back to the Action Sources list (click the << button).
Load the other type of action sources into the Selected Actions list, toggle the Use Center of Gravity option to match the type of animation, and click the All Above button.
If you import action sources using the incorrect Use Center of Gravity option, you can always re-import the action sources, and the existing animations in the ICE tree will update correctly.
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License