summaryrefslogtreecommitdiff
path: root/servers/physics_server_2d.cpp
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2021-06-22 16:36:43 -0700
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2021-06-22 16:51:47 -0700
commita65cdca8947c51f4a68032b76e0b970e7fcf1d93 (patch)
treef417a45751c351b1a53a64622df0606417d1b913 /servers/physics_server_2d.cpp
parent92f20fd70e6957cd65ccb7837fdc28f9b1e4a315 (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 'servers/physics_server_2d.cpp')
0 files changed, 0 insertions, 0 deletions