Houdini 20.0 Nodes APEX Nodes

DragPlane

Intersects a ray with a plane.

On this page
Since 20.0

Intersects a ray that starts at raypos and has direction raydir, with a plane that goes through planeorigin and has normal planenormal.

Inputs

startpos: Vector3

An optional position representing a start position. This is only used to compute delta, which is the difference between hitpos and startpos.

raypos: Vector3

The ray’s origin position.

raydir: Vector3

The ray direction.

planeorigin: Vector3

A point that the plane goes through.

planenormal: Vector3

The normal to the plane.

Outputs

hitpos: Vector3

The intersected position of the ray with the plane.

delta: Vector3

The hitpos minus the startpos.

hit: Bool

Returns True if the ray successfully intersects the plane.

APEX Nodes