godot/servers
PouleyKetchoupp 7344beafdd
Fix errors in KinematicBody 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.

(cherry picked from commit b93aeec4a2)
2021-11-15 22:32:53 +01:00
..
arvr
audio clang-format: Various fixes to comments alignment from clang-format 13 2021-10-28 14:50:32 +02:00
camera
physics Fix errors in KinematicBody when floor is destroyed or removed 2021-11-15 22:32:53 +01:00
physics_2d Fix errors in KinematicBody when floor is destroyed or removed 2021-11-15 22:32:53 +01:00
visual clang-format: Disable alignment of operands, too unreliable 2021-10-28 13:23:38 +02:00
arvr_server.cpp
arvr_server.h
audio_server.cpp [HTML5] Use browser mix rate by default on the Web. 2021-09-15 20:36:19 +02:00
audio_server.h
camera_server.cpp
camera_server.h
physics_2d_server.cpp Improved logic for KinematicBody collision recovery depth 2021-10-05 17:00:55 -07:00
physics_2d_server.h Improved logic for KinematicBody collision recovery depth 2021-10-05 17:00:55 -07:00
physics_server.cpp Expose intersect_point in 3D physics server 2021-11-15 22:22:31 +01:00
physics_server.h Expose intersect_point in 3D physics server 2021-11-15 22:22:31 +01:00
register_server_types.cpp
register_server_types.h
SCsub
server_wrap_mt_common.h
visual_server_callbacks.cpp
visual_server_callbacks.h
visual_server.cpp GLES2: Disable half float on iOS via platform override 2021-10-25 16:25:56 +02:00
visual_server.h Merge pull request #51491 from Calinou/glow-add-high-quality-mode-3.x 2021-10-08 07:47:07 +02:00