1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00

Merge pull request #33690 from Phischermen/area-enhancement

Bullet: Fix detection of concave shape in Area
This commit is contained in:
Rémi Verschelde
2020-02-26 21:51:37 +01:00
committed by GitHub

View File

@@ -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;