Create Debug Sphere ProtoFlux Node Page |
Added info about debug overdraw. |
||
Line 16: | Line 16: | ||
|}} | |}} | ||
Debug Sphere is a ProtoFlux node that when called will make a sphere visual at the global Point ([[Type:Float3|float3]]) with a radius provided and will appear for a duration in seconds. The visual will appear under the [[Root]] of a world. | Debug Sphere is a ProtoFlux node that when called will make a sphere visual at the global Point ([[Type:Float3|float3]]) with a radius 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:04, 22 May 2024
Debug Sphere
Debug
Debug Sphere is a ProtoFlux node that when called will make a sphere visual at the global Point (float3) with a radius 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
* (Call)
Create the Sphere debug visual with the given parameters.
Point (float3)
The position in global coordinates to put the visual.
Radius (float)
The radius in meters the visual should be.
Color (colorX)
The color the visual should be.
Duration (float)
How long the visual should appear for.
Outputs
Next (Continuation)
Fires after * (Call) is impulsed and the visual was created successfully.
Examples
-
An example of a visual created by the Debug Sphere node with the default colors.