virtualx-engine/scene
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
..
2d Fix errors in KinematicBody when floor is destroyed or removed 2021-11-15 22:32:53 +01:00
3d Fix errors in KinematicBody when floor is destroyed or removed 2021-11-15 22:32:53 +01:00
animation Fix AnimationNodeStateMachinePlayback start() on nonexistent node 2021-10-04 15:22:16 +02:00
audio Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
debugger Promote object validity checks to release builds 2021-09-21 10:39:04 +02:00
gui Fix uninteractable singular tab in TabBar 2021-10-31 23:10:47 +01:00
main Fix request headers being included in response. 2021-11-15 22:24:22 +01:00
resources Prevent MeshDataTool from crashing due to invalid bones/weights arrays 2021-11-02 16:52:36 +03:00
register_scene_types.cpp Ignore OS specific values (constants, project settings, properties) 2021-10-10 23:40:32 +03:00
register_scene_types.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
scene_string_names.cpp Display a editor gizmo icon for Listener 2021-09-16 23:37:12 +02:00
scene_string_names.h Display a editor gizmo icon for Listener 2021-09-16 23:37:12 +02:00
SCsub SCons: Add explicit dependencies on thirdparty code in cloned env 2021-04-29 16:57:00 +02:00