diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2021-02-09 19:00:21 -0700 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2021-02-09 19:14:17 -0700 |
commit | 50501f28434ef63bdde53dfd5ed2a332af770ceb (patch) | |
tree | f9bf2c30e7c2620286cdc0fa66da55f2a0e5eb6a /scene/3d/mesh_instance_3d.cpp | |
parent | df9c98e107b19fc50bc5ae9f7ed624d693c0fb32 (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 'scene/3d/mesh_instance_3d.cpp')
0 files changed, 0 insertions, 0 deletions