virtualx-engine/scene/2d
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
..
animated_sprite.cpp Fix rendering centered odd-size texture in AnimatedSprite/AnimatedSprite3D 2021-10-03 14:15:21 +02:00
animated_sprite.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
area_2d.cpp Improve area/body_shape_entered/exited signals parameter names and doc 2021-10-15 11:28:17 -04:00
area_2d.h Return RID instead of Object id in area-body_shape_entered-exited signals. 2021-05-19 10:51:59 +01:00
audio_stream_player_2d.cpp Add Listener2D 2021-10-05 13:29:59 +02:00
audio_stream_player_2d.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
back_buffer_copy.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
back_buffer_copy.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
camera_2d.cpp Fix crash when deleting Camera2D and Viewport assigned to it 2021-10-06 13:41:21 +08:00
camera_2d.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
canvas_item.cpp Add half frame to floor() 2021-09-29 20:03:07 +02:00
canvas_item.h Prevent shaders from generating code before the constructor finishes. 2021-09-21 11:47:51 +01:00
canvas_modulate.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
canvas_modulate.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
collision_object_2d.cpp Merge pull request #54154 from bjauny/fix_areanotification 2021-10-27 20:38:55 +02:00
collision_object_2d.h Move collision layer and mask into CollisionObject. 2021-05-08 11:40:57 +01:00
collision_polygon_2d.cpp Fix unexpected crashes in notification 2021-10-25 11:16:59 +02:00
collision_polygon_2d.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
collision_shape_2d.cpp Fix unexpected crashes in notification 2021-10-25 11:16:59 +02:00
collision_shape_2d.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
cpu_particles_2d.cpp Fix color properties of particle nodes/material 2021-07-15 10:25:35 +02:00
cpu_particles_2d.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
joints_2d.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
joints_2d.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
light_2d.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
light_2d.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
light_occluder_2d.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
light_occluder_2d.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
line_2d.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
line_2d.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
line_builder.cpp clang-format: Disable alignment of operands, too unreliable 2021-10-28 13:23:38 +02:00
line_builder.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
listener_2d.cpp Add Listener2D 2021-10-05 13:29:59 +02:00
listener_2d.h Add Listener2D 2021-10-05 13:29:59 +02:00
mesh_instance_2d.cpp Fix MeshInstance2D rect 2021-10-23 11:54:55 +02:00
mesh_instance_2d.h Fix MeshInstance2D rect 2021-10-23 11:54:55 +02:00
multimesh_instance_2d.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
multimesh_instance_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
navigation_2d.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
navigation_2d.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
navigation_polygon.cpp Remove duplicate ERR_PRINTS macro 2021-06-16 11:56:25 +01:00
navigation_polygon.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
node_2d.cpp Added minimum scale for node 2D 2021-07-12 12:15:33 +02:00
node_2d.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
parallax_background.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
parallax_background.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
parallax_layer.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
parallax_layer.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
particles_2d.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
particles_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
path_2d.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
path_2d.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
physics_body_2d.cpp Fix errors in KinematicBody when floor is destroyed or removed 2021-11-15 22:32:53 +01:00
physics_body_2d.h Backport new methods for KinematicBody and KinematicCollision 2021-08-26 12:16:40 +08:00
polygon_2d.cpp Fix errors with invalid bone node path in Polygon2D 2021-11-03 17:31:10 +01:00
polygon_2d.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
position_2d.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
position_2d.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
ray_cast_2d.cpp Fix unexpected crashes in notification 2021-10-25 11:16:59 +02:00
ray_cast_2d.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
remote_transform_2d.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
remote_transform_2d.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
skeleton_2d.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
skeleton_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
sprite.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
sprite.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
tile_map.cpp TileMap Fix trying to get data for tile not existing in attached TileSet 2021-08-06 18:52:04 +02:00
tile_map.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
touch_screen_button.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
touch_screen_button.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
visibility_notifier_2d.cpp Fix VisibilityEnabler2D throwing a signal error when process_parent or physics_process_parent are enabled 2021-09-24 19:03:10 +02:00
visibility_notifier_2d.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
y_sort.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
y_sort.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00