Справка Houdini на русском Nodes Dynamics nodes

POP Steer Obstacle 1.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.

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.

Avoidance Force

Amount of force applied to alter agent path to avoid the obstacle.

Braking Force

How much force to apply in the opposite direction of the agent/particle’s current velocity to make it slow down to avoid a future collision.

Front Search Distance

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

Side Search Distance

The maximum distance (in meters) to the side 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.

Force Separation

Force the agent/particle to stay clear of any possible penetrations with the collisions geometry.

See also

Dynamics nodes