Create Debug Axes ProtoFlux Node Page |
Added info about debug overdraw. |
||
Line 19: | Line 19: | ||
|}} | |}} | ||
Debug Axes is a ProtoFlux node that when called will make a 3 arrows visual similar to a [[Gizmo]] at the global coordinates with the arrows having the length provided and will appear for a duration in seconds. The visual will appear under the [[Root]] of a world. | Debug Axes is a ProtoFlux node that when called will make a 3 arrows visual similar to a [[Gizmo]] at the global coordinates with the arrows having the length provided and will appear for a duration in seconds. The visual will appear under the [[Root]] of a world. In most cases, the debug visuals will be drawn over most materials, letting you see them easily. | ||
See also: [[Coordinate spaces]] | See also: [[Coordinate spaces]] |
Latest revision as of 22:01, 22 May 2024
Debug Axes is a ProtoFlux node that when called will make a 3 arrows visual similar to a Gizmo at the global coordinates with the arrows having the length provided and will appear for a duration in seconds. The visual will appear under the Root of a world. In most cases, the debug visuals will be drawn over most materials, letting you see them easily.
See also: Coordinate spaces
Inputs
* (Call)
Call this to spawn a debug axes visual in the root of the world with the provided parameters.
Position (float3)
The position in global space for the debug visual. Default at the node.
Rotation (floatQ)
The Rotation in global space for the debug visual. Default at the node.
Length (float)
The length of the arrows for the debug visual in meters.
RightColor (colorX)
The color for the debug axes in the (1,0,0) direction. Also known as the red arrow on a Gizmo. Defaults to red.
UpColor (colorX)
The color for the debug axes in the (0,1,0) direction. Also known as the green arrow on a Gizmo. Defaults to green.
ForwardColor (colorX)
The color for the debug axes in the (0,0,1) direction. Also known as the blue arrow on a Gizmo. Defaults to blue.
Duration (float)
How long the debug axes visual appears for in seconds.
Outputs
Next (Continuation)
Fires after * (Call) is impulsed and the gizmo was created successfully.
Examples
-
An example of a visual created by the Debug Axes node with the default colors that is rotated in a random orientation.