浏览代码

Merge pull request #33690 from Phischermen/area-enhancement

Bullet: Fix detection of concave shape in Area
Rémi Verschelde 5 年之前
父节点
当前提交
fde1211771
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      modules/bullet/space_bullet.cpp

+ 0 - 3
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));
 					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));
 					btTransform other_shape_transform(otherObject->get_bt_shape_transform(z));
 					other_shape_transform.getOrigin() *= other_body_scale;
 					other_shape_transform.getOrigin() *= other_body_scale;