Draw 3D debug graphics and 2D overlays with this add-on.
Draw 3D debug graphics and 2D overlays with this add-on.
This is an add-on for debug drawing in 3D and for some 2D overlays, which is written in C++ and can be used with GDScript, C++ or C#.
Based on my previous addon, which was developed only for C#, and which was inspired by Zylann's GDScript addon
Your support adds motivation to develop my public projects.
USDT-TRC20 TEw934PrsffHsAn5M63SoHYRuZo984EF6v
3D:
Overlay:
Precompiled for:
This addon supports working with several World3D and different Viewports. More information.
There is also a no depth test mode and other settings that can be changed for each instance.
This addon supports double-precision builds, for more information, see the documentation.
To download, use the Godot Asset Library or use one of the stable versions from the GitHub Releases page.
For versions prior to 1.4.5, just download one of the source codes in the assets. For newer versions, download debug-draw-3d_[version].zip.
addons/debug_draw_3d to your addons folder, create it if the folder doesn't existMore examples can be found in the examples_dd3d/ folder.
Simple test:
…An example of using scoped configs:
…[!TIP]
If you want to use a non-standard Viewport for rendering a 3d scene, then do not forget to specify it in the scoped config!
This project has a separate documentation page.
Also, a list of all functions is available in the documentation inside the editor (see DebugDraw3D and DebugDraw2D).
The text in the keys and values of a text group cannot contain multi-line strings.
The entire text overlay can only be placed in one corner.
Frustum of Camera3D does not take into account the window size from ProjectSettings.
This addon collects anonymous statistics on editor usage time. The data includes the library version, engine version, operating system, system architecture, and locale. No personally identifiable information is gathered.
Libraries without editor support do not collect statistics in any way. Also, previews running in the editor do not collect any usage statistics.
You can disable this in the editor settings at: debug_draw_3d/settings/telemetry_state.
DD3DDemo.tscn in editor
DD3DDemo.tscn in play mode
No open issues yet, or sync has not completed.