Conform Path

Projects a Path onto colliders or terrain by casting rays from each path point. Useful for making a road or track follow ground geometry.

Slots

Inputs

Name Type Description
Path Path The path to project

Outputs

Name Type Description
Path Path The projected path

Settings

Direction

The direction to cast rays in when looking for colliders.

Max Distance

Maximum distance each ray can travel before giving up.

Offset

Shifts each projected point along the raycast direction after projection.

Use a small positive offset to keep a path floating slightly above the ground, or to hide mesh seams.

Warp

When enabled, the entire path is moved as a unit to the nearest surface. When disabled, each point is projected individually.

Layer Mask

Which layers to cast rays against.