diff options
author | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2020-09-24 15:11:06 +0100 |
---|---|---|
committer | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2020-10-08 14:51:57 +0100 |
commit | 0d3e8538ef4703955499fc0f8d532a99c92cb689 (patch) | |
tree | 2aa1e692c588b9734690341f88e9bbd884114579 /modules/bullet/space_bullet.cpp | |
parent | 53a3dfbf6b78cc3d0662abec4efa4bbeae4939f6 (diff) |
Update Bullet Area overlaps when Area properties or shapes change.
Diffstat (limited to 'modules/bullet/space_bullet.cpp')
-rw-r--r-- | modules/bullet/space_bullet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/bullet/space_bullet.cpp b/modules/bullet/space_bullet.cpp index c581d1804e..628e6ebd3c 100644 --- a/modules/bullet/space_bullet.cpp +++ b/modules/bullet/space_bullet.cpp @@ -684,7 +684,7 @@ void SpaceBullet::check_ghost_overlaps() { RigidCollisionObjectBullet *otherObject = static_cast<RigidCollisionObjectBullet *>(overlapped_bt_co->getUserPointer()); btVector3 other_body_scale(otherObject->get_bt_body_scale()); - if (!area->is_transform_changed() && !otherObject->is_transform_changed()) { + if (!area->is_updated() && !otherObject->is_updated()) { hasOverlap = -1 != area->find_overlapping_object(otherObject); goto collision_found; } |