|On this page|
The Crowd solver has can have your agents stick to terrain geometry, and do some 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 selects the Crowd Solver node, turns on the terrain following controls on the Terrain sub-tab, 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 field.
You also adjust or turn off automatic foot placement.
The crowd solver can manipulate agent skeletons to automatically place agent feet in proper position as they walk along non-flat surfaces.
See foot planting workflow for how to enable better terrain adaptation and prevent skating.