Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

godot_debug_draw_3d

> 编程语言
Open source

Draw 3D debug graphics and 2D overlays with this add-on.

1.0K stars0 likes0 views
WebsiteGitHub

About

Draw 3D debug graphics and 2D overlays with this add-on.

Debug drawing utility for Godot

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

Documentation

Godot 3 version

Support me

Your support adds motivation to develop my public projects.

USDT-TRC20 TEw934PrsffHsAn5M63SoHYRuZo984EF6v

Features

3D:

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

Overlay:

  • Text (with grouping and coloring)

Precompiled for:

  • Windows
  • Linux (built on Ubuntu 22.04)
  • macOS (10.15+)
  • Android (5.0+)
  • iOS
  • Web (Firefox is supported by Godot 4.3+)

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.

Interactive Web Demo

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

Examples

More 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!

API

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).

Known issues and limitations

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.

Usage Analytics

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.

More screenshots

DD3DDemo.tscn in editor

DD3DDemo.tscn in play mode

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C++csharpgdextensiongdnativegdscript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言