|On this page|
The crowd solver can have your agents stick to terrain geometry and perform foot placement on the terrain. Only one geometry object can be used as terrain with a crowd solver. If agents move off the terrain, they will snap to the ZX plane.
Set the terrain for a crowd simulation
Select the geometry you want to use.
On the Crowds shelf tab, select the Terrain tool.
This turns on the terrain-following controls on the Terrain tab of the Crowd Solver node, and sets it to the selected geometry.
You can limit the terrain-following behavior to certain groups by putting a space-separated list of group names in the Agent Group parameter on the Crowd Solver node.
You can also adjust or turn off automatic foot placement.
The crowd solver can manipulate agent skeletons to automatically place agent feet in their proper positions as they walk along non-flat surfaces.
See foot planting workflow for how to enable better terrain adaptation and prevent “skating”.