|On this page|
This node projects agents/particles onto the terrain.
Whether or not to activate this node.
Source for the terrain object (SOP path or DOP object)
Specifies which primitives in the terrain geometry should be used for ray intersections.
Controls direction of the terrain projection.
Use the direction specified.
Use the agent’s
Specifies whether to cast a single ray from the agent’s point, or to cast a ray from each of the agent’s legs.
Sample From Agent’s Plane
When Sampling Method is Foot, projects the foot positions into the plane defined by the agent’s position and the Direction Vector before casting rays. This produces results that are consistent with the Particle sampling method if the agent is on flat terrain. If this option is disabled, the agent will be lowered by the average distance of each foot from the terrain.
Additional offset that will shift all agents up or down.
If enabled, the
force point attribute will be projected into the plane defined by the terrain normal.
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.
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.
The packed primitive agents to modify.
The modified packed primitive agents with terrain projection applied.