{{description>Input Spline Path: Create a Path from a Curvy Spline. Customize output with cache usage, global coordinates, and range specification}} ====== Input Spline Path ====== This component is used in example scene(s) such as: 12_Train, 13_TrainMultiTrackDrifting, 23_CGTube. Creates a [[..:datatypes#Path|Path]] from a [[..:..:splines:curvyspline|CurvySpline]]. ===== Slots ===== ==== Outputs ==== ^ Name ^ Type ^ Description ^ | Path | [[..:datatypes#Path|Path]] | The path sampled from the spline | ===== Settings ===== ==== General ==== Basic settings for the source spline and how it is read. === Spline === The source spline. Assign an existing spline from the scene, or create a [[..:resources#Managed Resources|managed]] spline resource directly inside the generator. === Use Cache === When enabled, uses the spline's precomputed position and tangent cache instead of recalculating on the fly. Faster, but slightly less precise. === Use Global Space === When enabled, the spline's control points are read in world space instead of local space. Using global space is convenient when the spline moves in the scene, but causes the module to refresh every time the spline's transform changes, which increases CPU usage. ==== Range ==== Limit the module to a portion of the spline instead of using it in full. For example, setting the range from CP0001 to CP0002 means only that segment is exported. A subsequent module that uses a length of 1 will work over that segment only, not the whole spline. Useful for clamping extrusions or object placement to a fixed portion of the spline, independent of total spline length. === Start CP === The control point where the range begins. On a closed spline and if no End CP is set, this acts as a shift, i.e. the chosen CP becomes the new start of the spline. === End CP === The control point where the range ends.