zylann / godot_debug_draw Goto Github PK
View Code? Open in Web Editor NEWDebug drawing utility for Godot Engine
Debug drawing utility for Godot Engine
AFAIK when Godot uses AABB for meshes, the bounding box goes from position to position+size, i.e. the AABB's position is one of its corners. However draw_box_aabb draws a box with the position as its center, but perhaps it would convenient if behaved the same as Mesh.aabb?
The class AABB can of course be used in anyway one likes, but is it used for something more than mesh bounding boxes and culling?
It would be nice to be able to control line thickness to make lines a little thicker. Is this possible with immediategeometry?
Hi,
Maybe I am a bit stupid, but when I change the scene and want to print data it doesn't get shown.
In my Login.tscn
I see the debug output, then I switch the scene and want to print player data. I invalidate the _canvas_item
and set it to null
but it doesn't show up, but the path is now correct.
Should this work? When yes, then I will debug more into this.
Hello !
Always when using any of the draw_box
, draw_line_3d
and draw_ray_3d
functions from _physics_process
, the drawn objects don't disappear - they disappear as expected when the functions are called from _process
.
This causes the game to slow down and become unplayable after a few seconds, due to the huge amount of nodes created every second.
I'm using Godot 3.4.4, with the addons "heightmap terrain" and "trails"
Here's a video of the issue:
https://user-images.githubusercontent.com/39198556/168067640-1a3bf8f0-33f0-4da4-9581-b0af3690dce5.mp4
I tried replacing Engine.get_frames_drawn()
by Engine.get_idle_frames()
in debug_draw.gd
, but it didn't change anything. Do you have an idea of what could be causing it ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.