summaryrefslogtreecommitdiff
path: root/scene/3d/body_shape.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/body_shape.h')
-rw-r--r--scene/3d/body_shape.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/3d/body_shape.h b/scene/3d/body_shape.h
index c1ebf806a9..6c0b89da56 100644
--- a/scene/3d/body_shape.h
+++ b/scene/3d/body_shape.h
@@ -50,6 +50,8 @@ class CollisionShape : public Spatial {
RID indicator_instance;
*/
+ Node* debug_shape;
+
void resource_changed(RES res);
bool updating_body;
@@ -66,6 +68,8 @@ class CollisionShape : public Spatial {
void _set_update_shape_index(int p_index);
int _get_update_shape_index() const;
+ void _create_debug_shape();
+
protected:
void _notification(int p_what);