summaryrefslogtreecommitdiff
path: root/modules/bullet/space_bullet.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-01-13 17:15:45 +0100
committerGitHub <noreply@github.com>2021-01-13 17:15:45 +0100
commit8d4698db3656457eccfc54ea84716af146fb49a9 (patch)
treeec75fc2d82586d73a138989d7f83301ddb7963ea /modules/bullet/space_bullet.h
parent0b409d89d04d4cfed9fb559df8a3b379aba6ea2b (diff)
parent797a7fc6cc9c9583546447771fbf2b9c3b8cb576 (diff)
Merge pull request #45159 from madmiraal/fix-45145
Only remove Bullet's body constraints when removing body from space
Diffstat (limited to 'modules/bullet/space_bullet.h')
-rw-r--r--modules/bullet/space_bullet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/bullet/space_bullet.h b/modules/bullet/space_bullet.h
index 42f982d5f0..0f2482e551 100644
--- a/modules/bullet/space_bullet.h
+++ b/modules/bullet/space_bullet.h
@@ -151,6 +151,7 @@ public:
void reload_collision_filters(AreaBullet *p_area);
void add_rigid_body(RigidBodyBullet *p_body);
+ void remove_rigid_body_constraints(RigidBodyBullet *p_body);
void remove_rigid_body(RigidBodyBullet *p_body);
void reload_collision_filters(RigidBodyBullet *p_body);