{{description>Easily project a path onto colliders using raycasts with adjustable direction, max distance, offset, warp options, and layer masks. Watch video tutorial.}} ====== Conform Path ====== Projects a [[..:datatypes#Path|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 | [[..:datatypes#Path|Path]] | The path to project | ==== Outputs ==== ^ Name ^ Type ^ Description ^ | Path | [[..:datatypes#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.