Houdini 17.0 Crowd simulations

Specifying terrain for crowds

How to specify terrain geometry for agents to walk across.

On this page

Overview

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.

Houdini crowds currently do not support multi-level terrain. For example, you cannot have a terrain object with underpasses or structures with roofs. Agents will always snap to walk on the topmost surface.

Set the terrain for a crowd simulation

  1. Select the geometry you want to use.

  2. 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.

Foot adaptation

The crowd solver can manipulate agent skeletons to automatically place agent feet in proper position as they walk along non-flat surfaces.

See also

Crowd simulations

Getting started

  • Basics

    An overview of Houdini crowd simulation concepts.

  • Setup

    How to set up and edit a crowd simulation.

The moving parts

  • Agents

    About agents, the moving "actors" that make up a crowd simulation.

  • States

    About agent states, the virtual "mood" of each agent which controls the agent’s animation and which behaviors it runs.

  • Triggers

    How to specify conditions that cause agents to change from one state to another.

  • Caches

    Tips for efficiently caching and loading crowd sims.

Behavior

Appearance

  • Diversity

    How to create a more realistic crowd by making agents look and act differently.

  • Attaching cloth

    You can add and constrain vellum cloth as part of agent shape geometry, and then simulate the cloth based on agent movements.

Terrain

  • Foot planting

    How to set up agents to adapt their animation to terrain and prevent skating.

  • Terrain

    How to specify terrain geometry for agents to walk across.

  • Obstacles

    How to set up obstacles for agents to avoid.