summaryrefslogtreecommitdiff
path: root/core/os
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2021-02-09 19:00:21 -0700
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2021-02-09 19:14:17 -0700
commit50501f28434ef63bdde53dfd5ed2a332af770ceb (patch)
treef9bf2c30e7c2620286cdc0fa66da55f2a0e5eb6a /core/os
parentdf9c98e107b19fc50bc5ae9f7ed624d693c0fb32 (diff)
Fix physics queries not filtering out disabled collision shapes
This change allows collide_shape, intersect_shape, cast_motion and rest_info in both 2D and 3D to ignore disabled shapes and make them consistent with the physics simulation. In some other cases, _cull_aabb_for_body is used and filters shapes out internally, but whenever a physics query uses the broadphase directly without calling _cull_aabb_for_body, disabled shapes can be returned and need to be filtered out.
Diffstat (limited to 'core/os')
0 files changed, 0 insertions, 0 deletions