summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2021-04-29 18:18:39 -0700
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2021-04-29 18:18:39 -0700
commit7352a4c0d964d7aa7c3180fd493079107a4c5217 (patch)
tree7715525d243abbbf99390134168ffc8cff522ffc /doc/classes
parent639b02f4541be289a10f2e7bc80fd1ea67e4cf32 (diff)
Expose get_debug_mesh in Shape3D to scripting API
Can be useful for custom drawing of physics shapes without having to add a collision object node to the tree.
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Shape3D.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/Shape3D.xml b/doc/classes/Shape3D.xml
index f8b749aebf..b5f70132d7 100644
--- a/doc/classes/Shape3D.xml
+++ b/doc/classes/Shape3D.xml
@@ -10,6 +10,13 @@
<link title="Physics introduction">https://docs.godotengine.org/en/latest/tutorials/physics/physics_introduction.html</link>
</tutorials>
<methods>
+ <method name="get_debug_mesh">
+ <return type="ArrayMesh">
+ </return>
+ <description>
+ Returns the [ArrayMesh] used to draw the debug collision for this [Shape3D].
+ </description>
+ </method>
</methods>
<members>
<member name="margin" type="float" setter="set_margin" getter="get_margin" default="0.04">