Ready-made StateTree tools for Unreal Engine 5
Plugin: StateTreeToolsCore Category: Debug
Draws an oriented debug box centered at a world-space position with a quaternion rotation. When While Task Is Active is enabled the box is redrawn every tick. When disabled it is drawn once on enter and the task immediately succeeds. For an axis-aligned box see Draw Debug Box.
The world-space center of the box.
The half-extents of the box along each local axis. Default is (50, 50, 50).
The orientation of the box as a quaternion. Default is identity (no rotation).
The color of the box outline. Default is red.
When enabled the box 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 box persists until FlushPersistentDebugLines is called.
How long the box 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).