virtualx-engine/servers/physics
PouleyKetchoupp 562d9cef1b Fix RigidBody collision update after changing collision layer/mask
Changing the collision layer of a sleeping body was not triggering area
updates correctly.

Bodies need to be active for collision to be checked against already
overlapping bodies and areas.

Neighbors need to be activated too in order to handle the case where a
static body is modified (it can't be activated directly but paired
bodies need to check their collision again).

In 3D, moved the call to wakeup() from the physics server to
BodySW::_shapes_changed to make it consistent with 2D and also handle
the case where shapes are modified (_shapes_changed is called in both
this case and collision layer changes).
2021-10-21 17:22:47 -07:00
..
joints Style: Cleanup uses of double spaces between words 2021-06-07 12:06:59 +02:00
area_pair_sw.cpp Fix and clean disabled shapes handling in godot physics servers 2021-06-22 16:48:24 -07:00
area_pair_sw.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
area_sw.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
area_sw.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
body_pair_sw.cpp Fix GodotPhysics solver with kinematic body set to report contacts 2021-08-04 10:41:58 -07:00
body_pair_sw.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
body_sw.cpp Fix RigidBody collision update after changing collision layer/mask 2021-10-21 17:22:47 -07:00
body_sw.h Added wakeup() call to velocity, force and impulse functions. 2021-09-28 19:00:10 +13:00
broad_phase_basic.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
broad_phase_basic.h Fixed unnecessary bvh tree updates when calling set_pairable 2021-05-04 12:24:31 -07:00
broad_phase_bvh.cpp BVH - thread safety option 2021-05-25 10:47:32 +01:00
broad_phase_bvh.h Fixed unnecessary bvh tree updates when calling set_pairable 2021-05-04 12:24:31 -07:00
broad_phase_octree.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
broad_phase_octree.h Fixed unnecessary bvh tree updates when calling set_pairable 2021-05-04 12:24:31 -07:00
broad_phase_sw.cpp Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
broad_phase_sw.h Fixed unnecessary bvh tree updates when calling set_pairable 2021-05-04 12:24:31 -07:00
collision_object_sw.cpp Fix and clean disabled shapes handling in godot physics servers 2021-06-22 16:48:24 -07:00
collision_object_sw.h Fix and clean disabled shapes handling in godot physics servers 2021-06-22 16:48:24 -07:00
collision_solver_sat.cpp Fix Transform::xform(Plane) functions, add Transform unit tests 2021-08-07 08:05:39 +01:00
collision_solver_sat.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
collision_solver_sw.cpp Fix Rayshape recovery in test_body_ray_separation 2021-10-05 18:24:30 -07:00
collision_solver_sw.h Fix Rayshape recovery in test_body_ray_separation 2021-10-05 18:24:30 -07:00
constraint_sw.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
gjk_epa.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
gjk_epa.h Fix Cylinder shape collision with margins when using GJK-EPA 2021-03-16 10:20:19 -07:00
joints_sw.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
physics_server_sw.cpp Fix RigidBody collision update after changing collision layer/mask 2021-10-21 17:22:47 -07:00
physics_server_sw.h Fix 3D moving platform logic 2021-08-09 18:55:49 -07:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
shape_sw.cpp Optimize raycast with large Heightmap shape data 2021-09-06 15:59:47 -07:00
shape_sw.h Optimize raycast with large Heightmap shape data 2021-09-06 15:59:47 -07:00
space_sw.cpp Merge pull request #53453 from nekomatata/fix-rayshape-snap-3.x 2021-10-06 08:37:57 +02:00
space_sw.h Improved logic for KinematicBody collision recovery depth 2021-10-05 17:00:55 -07:00
step_sw.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
step_sw.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00