Godot 4.3 (3D)
Is there a way to toggle the visibility of collision shapes during the game? I can’t find anything in RenderingServer for this.
Thanks!
Godot 4.3 (3D)
Is there a way to toggle the visibility of collision shapes during the game? I can’t find anything in RenderingServer for this.
Thanks!
You can always go in the editor to Debug → “Visible Collision Shapes” but this won’t persist in exported games. Only way to have them persist is to give them a mesh or something.
I don’t need them in an exported game, just when I run the game from the editor. To be able to toggle them on and off while the game is running. For debugging. I already have in-game shortcut keys for wireframe and overdraw modes. Collision shape control seems to be missing from the API.