Enabled concave collision detection with Areas in Bullet.
This commit is contained in:
parent
0a96235b44
commit
2c01cf54f8
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue