Ready-made StateTree tools for Unreal Engine 5
Plugin: StateTreeToolsCore Category: Debug
Draws a partial arc of a circle at a world-space center, defined by a direction vector and an angular width. When While Task Is Active is enabled the arc is redrawn every tick. When disabled it is drawn once on enter and the task immediately succeeds.
The world-space center of the circle the arc belongs to.
The radius of the circle in world units. Default is 100.
The center direction of the arc, expressed as a unit vector.
The half-angle of the arc in radians. The arc spans [-AngleWidth, +AngleWidth] around Direction. Default is 1.0.
The number of line segments used to approximate the arc. Default is 12.
The color of the arc. Default is red.
When enabled the arc 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 arc persists until FlushPersistentDebugLines is called.
How long the arc 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).