Debug Draw 3D (and 2D) 1.4.5
Draw 3D debug graphics and 2D overlays with this add-on.
Loading...
Searching...
No Matches
Debug Draw 3D (and 2D)

Introduction

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 or C#.

Screenshots

DebugDrawDemoScene.tscn in editor

DebugDrawDemoScene.tscn in play mode

Features

3D:

  • Arrow
  • Billboard opaque square
  • Box
  • Camera Frustum
  • Cylinder
  • Gizmo
  • Grid
  • Line
  • Line Path
  • Line with Arrow
  • Points
  • Position 3D (3 crossing axes)
  • Sphere

2D:

  • [Work in progress]

Overlay:

  • Text (with grouping and coloring)
  • FPS Graph
  • Custom Graphs

Precompiled for:

  • Windows
  • Linux
  • macOS
  • Android
  • Web (WebAssembly)

This addon supports working with several World3D and different Viewports. There is also a no depth test mode and other settings that can be changed for each instance.

This library supports double-precision builds, for more information, see Double Precision.

Download

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.

Installation

  • Close editor
  • Copy addons/debug_draw_3d to your addons folder, create it if the folder doesn't exist
  • Launch editor

Support me

Your support adds motivation to develop my public projects.

USDT-TRC20 TEw934PrsffHsAn5M63SoHYRuZo984EF6v

Interactive Web Demo

Next steps

Examples

Classes