Houdini 20.0 Nodes VOP nodes

Collide Geometry VOP node

Collides the specified joint with the target geometry.

On this page
Since 18.5

This node stops a specific joint from penetrating into the target geometry and provides options for rotating the joint to match a custom orientation attribute on the geometry.

Parameters

Geometry File

Sets the location of the file to reference the target geometry from.

Geometry Path

Specifies a SOP node path to point at the geometry node.

This parameter is only available when Geometry File is set to Operator Path.

Type

Sets the input type for the target geometry.

Orientation Attribute

Specifies the attribute that marks the orientation of the primitive or point from the target geometry.

Note

If Type is set to Primitives, then Orientation Attribute has to be a vector. If Type is set to Points, then the Orientation Attribute has to be a vector, a 3×3 matrix, or a 4×4 matrix.

Direction

Specifies the direction towards which to check for intersection with the target geometry. For example, this is useful when the input character is walking close to a wall and you want to stabilize the feet joints only when they touch the floor.

Collision Distance

Specifies the distance between the joint and the closest primitive or point on the target geometry at which to stop the joint from moving and initialize orientation matching.

Match Orientation

Specifies whether to rotate the joint to match the geometry’s Orientation Attribute before the contact or after the contact. The contact is defined by when the joint gets within the Collision Distance tolerance.

Blend Distance

Specifies the distance at which to start blending in or out of the joint’s rotation to match the Orientation Attribute.

If the Match Orientation parameter is set to Before Contact, then the Blend Distance is calculated as the Collision Distance + Blend Distance. The joint will start rotating when it reaches this threshold and be fully rotated when it gets within the Collision Distance of the target geometry.

If the Match Orientation parameter is set to After Contact, then the Blend Distance is be calculated as the distance between the joint that collided with the target geometry and the joint’s position from the input. The joint will start rotating when it it gets within the Collision Distance of the target geometry and be fully rotated when it gets to Blend Distance away from the position of the collided joint.

Joint Axis To Orient

Specifies which axis of the specified joint to match to the geometry’s orientation. You must provide the axis in the joint’s local space.

Inputs

geometryfile

The file to reference the target geometry from.

oppathgeo

The SOP node path to point at the geometry node. Only valid when geometryfile is set to Operator Path.

targetxform

The world transformation matrix of the input joint.

type

The geometry type of the input target.

orientationattribute

The attribute that marks the orientation of the primitive or point from the target geometry.

direction

The direction towards which to check for intersection with the target geometry.

distance

The distance between the joint and the closest primitive or point on the target geometry at which to stop the joint from moving and initialize orientation matching.

matchorientation

When to match the geometry’s Orientation Attribute: before or after contact. Contact is determined by when the joint gets within the Collision Distance tolerance.

blenddistance

The distance at which to start blending in or out of the joint’s rotation to match the Orientation Attribute.

jointaxistoorient

Which axis of the specified joint to match to the geometry’s orientation. You must provide the axis in the joint’s local space.

Outputs

out_targetxform

The world transformation matrix of the input joint after it has been collided with the geometry.

See also

VOP nodes