On this page |
Overview
You can specify static DOP objects for agents to avoid using a behavior. You can put this behavior before the behavior merge node
Setting up static DOP objects as obstacles
-
Make the obstacle object a static object in the crowd simulation.
-
Select the obstacle object. On the Crowds shelf tab, click Obstacle.
The shelf tool creates a POP Steer Obstacle node, sets it to avoid the static object, and wires it after the merge_states
node.
Because the POP Steer Obstacle is after the merge_states
node, it applies to all agents regardless of state. To make agents avoid an obstacle only in one state, move the POP Steer Obstacle node between the State node and the merge_states
node. See the crowd simulation network and states and behaviors for more information.
Tips and tricks
-
Collisions and avoidance are calculated using the geometry bound to the character skeleton.