Conform Path

Conform a path onto colliders by casting rays

Input

  • Path

Output

  • Path
Direction

The direction to raycast in

Max Distance

The maximum raycast distance

Offset

Defines a offset shift along the raycast direction.

This can be used to make a path float above objects or counter visible mesh seams
Warp

If enabled, the entire path is moved to the nearest possible distance. If disabled, each path segment raycasts individually

Layer Mask

The layers to raycast against