godot/servers/physics_2d
PouleyKetchoupp 10fdd196b7 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.
2021-06-22 16:48:24 -07:00
..
area_2d_sw.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
area_2d_sw.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
area_pair_2d_sw.cpp Fix and clean disabled shapes handling in godot physics servers 2021-06-22 16:48:24 -07:00
area_pair_2d_sw.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
body_2d_sw.cpp Ignore disabled shapes for mass property calculations 2021-06-17 17:17:05 -07:00
body_2d_sw.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
body_pair_2d_sw.cpp Fix and clean disabled shapes handling in godot physics servers 2021-06-22 16:48:24 -07:00
body_pair_2d_sw.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
broad_phase_2d_basic.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
broad_phase_2d_basic.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
broad_phase_2d_bvh.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
broad_phase_2d_bvh.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
broad_phase_2d_hash_grid.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
broad_phase_2d_hash_grid.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
broad_phase_2d_sw.cpp Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
broad_phase_2d_sw.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
collision_object_2d_sw.cpp Fix and clean disabled shapes handling in godot physics servers 2021-06-22 16:48:24 -07:00
collision_object_2d_sw.h Fix and clean disabled shapes handling in godot physics servers 2021-06-22 16:48:24 -07:00
collision_solver_2d_sat.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
collision_solver_2d_sat.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
collision_solver_2d_sw.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
collision_solver_2d_sw.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
constraint_2d_sw.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
joints_2d_sw.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
joints_2d_sw.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
physics_2d_server_sw.cpp Fix and clean disabled shapes handling in godot physics servers 2021-06-22 16:48:24 -07:00
physics_2d_server_sw.h Merge pull request #38387 from Rhathe/set_iterations 2021-05-19 19:48:08 +02:00
physics_2d_server_wrap_mt.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
physics_2d_server_wrap_mt.h Merge pull request #38387 from Rhathe/set_iterations 2021-05-19 19:48:08 +02:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
shape_2d_sw.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
shape_2d_sw.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
space_2d_sw.cpp Fix and clean disabled shapes handling in godot physics servers 2021-06-22 16:48:24 -07:00
space_2d_sw.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
step_2d_sw.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
step_2d_sw.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00