godot/servers/physics_2d
PouleyKetchoupp d804c34285 Fix RigidDynamicBody 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
GodotBody3D::_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:36:58 -07:00
..
godot_area_2d.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_area_2d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_area_pair_2d.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_area_pair_2d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_body_2d.cpp Fix RigidDynamicBody collision update after changing collision layer/mask 2021-10-21 17:36:58 -07:00
godot_body_2d.h Fix 2D center of mass not updated from transform 2021-10-19 16:22:30 -07:00
godot_body_direct_state_2d.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_body_direct_state_2d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_body_pair_2d.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_body_pair_2d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_broad_phase_2d_bvh.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_broad_phase_2d_bvh.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_broad_phase_2d.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_broad_phase_2d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_collision_object_2d.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_collision_object_2d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_collision_solver_2d_sat.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_collision_solver_2d_sat.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_collision_solver_2d.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_collision_solver_2d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_constraint_2d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_joints_2d.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_joints_2d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_physics_server_2d.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_physics_server_2d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_shape_2d.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_shape_2d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_space_2d.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_space_2d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_step_2d.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_step_2d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00