Houdini 16.5 Nodes Dynamics nodes

POP Steer Obstacle 2.0 dynamics node

Applies force to agents/particles to avoid potential collisions with static objects.

This is a crowd behavior node, but you can also use it on regular particles (see the Output attribute parameter).

This node sends out a certain number of rays in a cone along its forward direction, and tries to avoid collisions based on the closest ray hit. It looks for the optimal path based on the least obstructed ray, and uses environment normal directions as the braking direction.

See crowd obstacles for how to set up obstacles using shelf tools.

Parameters

Activation

When this is off, the node will have no effect. You can animate this to turn the behavior on or off at different times.

Group

Only modify a certain group or groups out of all agents/particles. You can name groups of agents using the Group name parameter on the Crowd Source geometry node.

Guide

Controls if the guide geometry for this node should be shown.

Note

Even if it is enabled here, it can also be disabled by using the Hidden flag on the DOP Node.

Output Attribute

If you are working with agents, set this to "Crowds steerforce". If you are working with particles, set this to "POP force".

This controls whether the node modifies the agent’s steerforce attribute (used by the crowd solver) or the particle’s force attribute (used by the POP solver).

Weight

Available when Output attribute is "Crowd steerforce". This number is used by the crowd solver to normalize and scale multiple forces that apply to an agent.

Source

Whether to get the obstacle geometry from a geometry (SOP) node, or a piece of simulation (DOP) data.

SOP Path

When Source is "SOP", the path to an object (for example /obj/house) or geometry node (for example, /obj/house/walls) containing the obstacle geometry.

Obstacle DOP Data

When Source is "DOP Data", the name of a piece of geometry data, such as created by a Static Object DOP.

Far Avoidance Force

Amount of force applied to alter agent path to avoid the obstacle. This force follows a linear model and is useful for long range anticipatory avoidance. This can be mixed with a Near Avoidance Force.

Near Avoidance Force

Amount of force applied to alter agent path to avoid the obstacle. This force follows a non-linear model which produces better results for short range anticipatory avoidance and for dense crowds. This can be mixed with a Far Avoidance Force.

Front Search Distance

The maximum distance (in meters) in front of the agent to look for collisions with the obstacle geometry.

Samples

Number of rays to send out looking for possible collisions. The more rays you send, the earlier and more accurate the avoidance will be, but the slower the node will operate.

Samples Seed

Seed for the random number generator used to generate sample rays.

Sample Weight Bias

Bias for longer ray samples to have more influence.

FOV Horizontal

Field of view (in degrees) in the horizontal direction.

FOV Vertical

Field of view (in degrees) in the vertical direction.

Terrain Projection

Option for whether to project the obstacle avoidance force onto a terrain.

See also

Dynamics nodes