Ready-made StateTree tools for Unreal Engine 5
Plugin: StateTreeToolsCore Category: Debug
Draws a debug line between two world-space points. When While Task Is Active is enabled the line is redrawn every tick for as long as the state is active. When disabled the line is drawn once on enter using the persistence and lifetime settings, then the task immediately succeeds.
The world-space start position of the line.
The world-space end position of the line.
The color of the line. Default is red.
When enabled the line is redrawn every tick. The task stays running until the state exits. When disabled the line is drawn once on enter.
When enabled (and While Task Is Active is off) the line persists until FlushPersistentDebugLines is called. Mutually exclusive with Life Time.
How long the line 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. Higher values draw on top of lower-priority geometry. Default is 0.
Line thickness in world units. Default is 0 (hairline).