summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-02-26 21:51:37 +0100
committerGitHub <noreply@github.com>2020-02-26 21:51:37 +0100
commitfde1211771f2b3957ba5e5c64a747d3de69cb9f9 (patch)
treec98f02c56ff732c6544c6dd6cbc6ebe7bcc3e28f
parentafa773f388fd2736546d9e998739b91949e9107e (diff)
parent2c01cf54f8463fb22b4120c40087b4f0398b1704 (diff)
Merge pull request #33690 from Phischermen/area-enhancement
Bullet: Fix detection of concave shape in Area
-rw-r--r--modules/bullet/space_bullet.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/bullet/space_bullet.cpp b/modules/bullet/space_bullet.cpp
index 0e4c4b4731..f6df97f11d 100644
--- a/modules/bullet/space_bullet.cpp
+++ b/modules/bullet/space_bullet.cpp
@@ -726,9 +726,6 @@ void SpaceBullet::check_ghost_overlaps() {
other_body_shape = static_cast<btCollisionShape *>(otherObject->get_bt_shape(z));
- if (other_body_shape->isConcave())
- continue;
-
btTransform other_shape_transform(otherObject->get_bt_shape_transform(z));
other_shape_transform.getOrigin() *= other_body_scale;