diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2021-06-22 16:36:43 -0700 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2021-06-22 16:51:47 -0700 |
commit | a65cdca8947c51f4a68032b76e0b970e7fcf1d93 (patch) | |
tree | f417a45751c351b1a53a64622df0606417d1b913 /scene/gui/item_list.cpp | |
parent | 92f20fd70e6957cd65ccb7837fdc28f9b1e4a315 (diff) |
Fix and clean disabled shapes handling in godot physics servers
In 3D, disabled shapes are now not added to the broadphase anymore.
Since they are removed right away when disabled, no need to check for
disabled shapes for any query that comes from the broadphase.
Also Fixes raycast queries returning disabled shapes.
In 2D, disabled shapes where already not added to the broadphase.
Remove the same unnecessary checks as in 3D.
Overall harmonized API for disabled shapes in the physics servers and
removed duplicate method.
Diffstat (limited to 'scene/gui/item_list.cpp')
0 files changed, 0 insertions, 0 deletions