Houdini 16.5 Nodes Dynamics nodes

Agent Terrain Projection dynamics node

Project the agent/particle points onto the terrain

On this page

This node projects agents/particles onto the terrain.

Parameters

Activation

Whether or not to activate this node.

Terrain Source

Source for the terrain object (SOP path or DOP object)

Mode

Controls direction of the terrain projection.

Direction Vector

Use the direction specified.

Up Attribute

Use the agent’s up attribute.

Sampling Method

Specifies whether to cast a single ray from the agent’s point, or to cast a ray from each of the agent’s legs.

Offset

Additional offset that will shift all agents up or down.

Project Forces

If enabled, the force point attribute will be projected into the plane defined by the terrain normal.

Normal Attribute

When enabled, an attribute will be output indicating the normal of the terrain geometry underneath the agent.

Prim Num Attribute

When enabled, an attribute will be output indicating which primitive the agent was projected onto in the terrain geometry.

Prim UVW Attribute

When enabled, an attribute will be added with the coordinates where the agent was projected onto the terrain geometry.

Offset Attribute

When enabled, an attribute will be added with the agent’s offset from the terrain (according to the Mode, Sampling Method, and Offset parameters). This can be used in combination with the primitive number and UV coordinates to stick agents onto deforming terrain geometry.

Inputs

Agents

The packed primitive agents to modify.

Outputs

Agents

The modified packed primitive agents with terrain projection applied.

See also

Dynamics nodes