Documentation / Node reference / geo nodes

geo/Ray

Moves the points of input 0 onto the surface of input 1.

Modify Deform

Each point either casts a ray along its normal, or moves to the nearest point of input 1. Points that hit nothing stay in place.

Parameters

Name Type What it does
mode UInt8 NORMAL · NEAREST How each point finds the surface.
bidirectional Bool Also cast backwards, keeping the nearer hit.
maxDistance Float Ignore hits further than this. 0 means no limit.
updateNormals Bool Set moved points' normals to the surface normal.
writeHit Bool Write a HIT attribute: 0 missed, 1 front, 2 back.
backFaces Bool Also hit triangles from behind.

See also

This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.