Use the Crowd Generator to place actors onto a
NavMesh.
Deploying Random Actors on the NavMesh
Create a new project, in this case, a project composed of a plane and other multiple props.
Keep in mind that
height map
terrains do not support crowd generation.
Choose the Pick Object radio button, click the Pick Object button, then click the NavMesh Controller in the viewport or Scene Manager. Placement markers will appear.
Add motion or iMD files into the motion pool.
Suitable motions and iMDs will be picked based on
tags on the
actors. In this case, iMD files are applied because the actors are
to wander the scene.
Click the Deploy Actors button to place
characters onto the markers.
Choose the range by picking the NavMesh. In this case, you can either pick the NavMesh as the target for deploying the actors or use the Volume Controller of the Crowd Generator.
Pick NavMesh Only: By picking the NavMesh as the range, you can only deploy actors in Random type (the Formation radio button will be disabled). The entire NavMesh will be taken as the range for deployment.
Volume Controller: By using the volume controller, you can deploy actors in random positions or in formation. The deployment range will reside in the volume.
Add the desired actors into the candidate pool. These actors will be sourced for deployment. For more information, see Distribution Pool Adjustments.
Add motion or iMD files into the motion pool. Suitable motions and iMDs will be randomly picked based on the tags applied to the actors. In this case, motion files are applied since there is no need for the actors to move around the scene. Refer to the following sections for more information:
Click the Deploy Actors button to place
characters onto the markers. You can playback
to playback the motions, change the settings in the panel and deploy again until you are satisfied.Note:
Click the Generate Placement button repeatedly for
the ideal permutation.
Close the Crowd Generator panel and playback to view the crowd animation.