Ready-made StateTree tools for Unreal Engine 5
Plugin: StateTreeToolsCore Category: Debug
Draws a smooth centripetal Catmull-Rom spline through an array of world-space control points. When While Task Is Active is enabled the spline is redrawn every tick. When disabled it is drawn once on enter and the task immediately succeeds. For a multi-color variant see Draw Centripetal Catmull-Rom Spline (Multi Color).
An array of world-space FVector control points that the spline passes through. At least two points are required.
The color of the spline. Default is red.
The centripetal parameterization value. 0.5 is the standard centripetal form. 0.0 is uniform and 1.0 is chordal. Default is 0.5.
The number of line segments drawn per interval between consecutive control points. Higher values produce a smoother curve. Default is 8.
When enabled the spline is redrawn every tick and the task stays running until the state exits. When disabled it is drawn once on enter.
When enabled (and While Task Is Active is off) the spline persists until FlushPersistentDebugLines is called.
How long the spline remains visible in seconds. A value of -1 uses the engine default. Only active when While Task Is Active and Persistent Lines are both off.
Rendering depth priority. Default is 0.
Line thickness in world units. Default is 0 (hairline).