godot/servers/physics_3d
PouleyKetchoupp bfd0d33244 Fix errors in CharacterBody when floor is destroyed or removed
In all physics servers, body_get_direct_state() now silently returns
nullptr when the body has been already freed or is removed from space,
so the client code can detect this state and invalidate the body rid.

In 2D, there is no change in behavior (just no more errors).

In 3D, the Bullet server returned a valid direct body state when the
body was removed from the physics space, but in this case it didn't
make sense to use the information from the body state.
2021-11-10 08:27:33 -07:00
..
joints clang-format: Various fixes to comments alignment from `clang-format` 13 2021-10-28 15:43:36 +02:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
gjk_epa.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
gjk_epa.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_area_3d.cpp Use `Callable` in Area monitor callback 2021-11-01 21:53:17 -06:00
godot_area_3d.h Use `Callable` in Area monitor callback 2021-11-01 21:53:17 -06:00
godot_area_pair_3d.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_area_pair_3d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_body_3d.cpp Expose local center of mass in physics servers 2021-11-08 16:17:57 -07:00
godot_body_3d.h Expose local center of mass in physics servers 2021-11-08 16:17:57 -07:00
godot_body_direct_state_3d.cpp Expose local center of mass in physics servers 2021-11-08 16:17:57 -07:00
godot_body_direct_state_3d.h Expose local center of mass in physics servers 2021-11-08 16:17:57 -07:00
godot_body_pair_3d.cpp clang-format: Disable alignment of operands, too unreliable 2021-10-28 15:19:35 +02:00
godot_body_pair_3d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_broad_phase_3d.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_broad_phase_3d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_broad_phase_3d_bvh.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_broad_phase_3d_bvh.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_collision_object_3d.cpp Rename AABB `get_area` to `get_volume` 2021-11-05 18:22:42 -04:00
godot_collision_object_3d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_collision_solver_3d.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_collision_solver_3d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_collision_solver_3d_sat.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_collision_solver_3d_sat.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_constraint_3d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_joint_3d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_physics_server_3d.cpp Fix errors in CharacterBody when floor is destroyed or removed 2021-11-10 08:27:33 -07:00
godot_physics_server_3d.h Use `Callable` in Area monitor callback 2021-11-01 21:53:17 -06:00
godot_shape_3d.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_shape_3d.h Rename AABB `get_area` to `get_volume` 2021-11-05 18:22:42 -04:00
godot_soft_body_3d.cpp clang-format: Various fixes to comments alignment from `clang-format` 13 2021-10-28 15:43:36 +02:00
godot_soft_body_3d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_space_3d.cpp Use parameter classes instead of arguments for all physics queries 2021-11-04 11:44:39 -07:00
godot_space_3d.h Use parameter classes instead of arguments for all physics queries 2021-11-04 11:44:39 -07:00
godot_step_3d.cpp ThreadWorkPool no longer starts worker threads if given zero work. 2021-11-01 19:19:25 +00:00
godot_step_3d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00