From 026aa4381d39318f66cfccaa0345403bc80ddeb8 Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Sat, 26 Dec 2020 14:23:30 +0000 Subject: Add signal to inform joint that body has exited tree --- scene/3d/physics_joint_3d.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scene/3d/physics_joint_3d.h') diff --git a/scene/3d/physics_joint_3d.h b/scene/3d/physics_joint_3d.h index 250ae8bf52..89db5bf7d2 100644 --- a/scene/3d/physics_joint_3d.h +++ b/scene/3d/physics_joint_3d.h @@ -49,6 +49,8 @@ class Joint3D : public Node3D { String warning; protected: + void _disconnect_signals(); + void _body_exit_tree(const ObjectID &p_body_id); void _update_joint(bool p_only_free = false); void _notification(int p_what); -- cgit v1.2.3