virtualx-engine/scene/2d
smix8 847fab6272 Fix NavigationObstacle2D/3D get_global_transform() error
Fixes NavigationObstacle2D/3D reporting a 'get_global_transform: Condition "!is_inside_tree()" error when estimating the agent radius.

The collisionshapes that are lower in the SceneTree order than the obstacle node are not loaded in the SceneTree yet so the global_transform function fails.

Also adds warning message when this happens.

(cherry picked from commit cc707412e9)
2022-05-16 17:52:07 +02:00
..
animated_sprite.cpp Add autocompletion for AnimatedSprite.play() 2022-05-05 09:04:40 +08:00
animated_sprite.h Add autocompletion for AnimatedSprite.play() 2022-05-05 09:04:40 +08:00
area_2d.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
area_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
audio_stream_player_2d.cpp Fix crash when passing null to AudioStreamPlayer::set_stream() 2022-04-03 12:52:17 +02:00
audio_stream_player_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
back_buffer_copy.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
back_buffer_copy.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
camera_2d.cpp Fix crash when using Camera2D::set_custom_viewport() 2022-03-31 16:42:14 +08:00
camera_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
canvas_item.cpp Bind NOTIFICATION_LOCAL_TRANFORM_CHANGED 2022-03-20 11:34:29 -06:00
canvas_item.h Fix top level CanvasItem visibility 2022-03-08 01:29:24 +08:00
canvas_modulate.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
canvas_modulate.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
collision_object_2d.cpp Store ObjectID instead of raw pointer for Shape Owners 2022-01-25 17:16:02 +08:00
collision_object_2d.h Store ObjectID instead of raw pointer for Shape Owners 2022-01-25 17:16:02 +08:00
collision_polygon_2d.cpp Mention that Area2D doesn't support one_way_collision 2022-05-16 16:27:51 +02:00
collision_polygon_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
collision_shape_2d.cpp Mention that Area2D doesn't support one_way_collision 2022-05-16 16:27:51 +02:00
collision_shape_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
cpu_particles_2d.cpp Add editor vital redraws only option 2022-02-02 11:26:45 +00:00
cpu_particles_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
joints_2d.cpp Joint2D and Joint: make set_exclude_nodes_from_collision respect signals 2022-02-28 22:51:40 +01:00
joints_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
light_2d.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
light_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
light_occluder_2d.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
light_occluder_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
line_2d.cpp Add a property hint for the Line2D Round Precision property 2022-02-17 09:59:28 +01:00
line_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
line_builder.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
line_builder.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
listener_2d.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
listener_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
mesh_instance_2d.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
mesh_instance_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
multimesh_instance_2d.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
multimesh_instance_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
navigation_2d.cpp Improve Navigation2D default settings, fixes #56852 2022-01-23 14:07:31 +01:00
navigation_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
navigation_agent_2d.cpp backported method get_rid for NavigationAgent 2022-01-21 00:15:16 +03:00
navigation_agent_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
navigation_obstacle_2d.cpp Fix NavigationObstacle2D/3D get_global_transform() error 2022-05-16 17:52:07 +02:00
navigation_obstacle_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
navigation_polygon.cpp Add get_region_rid() to NavigationPolygonInstance and NavigationMeshInstance 2022-04-30 15:54:12 +02:00
navigation_polygon.h Add get_region_rid() to NavigationPolygonInstance and NavigationMeshInstance 2022-04-30 15:54:12 +02:00
node_2d.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
node_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
parallax_background.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
parallax_background.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
parallax_layer.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
parallax_layer.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
particles_2d.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
particles_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
path_2d.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
path_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
physics_body_2d.cpp Merge pull request #59439 from fabriceci/3x-fix-move-and-collide-reported-collisions 2022-04-28 18:47:28 +02:00
physics_body_2d.h Fix wrong collision reported on move_and_collide 2022-03-23 11:39:54 +01:00
polygon_2d.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
polygon_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
position_2d.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
position_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
ray_cast_2d.cpp Improve RayCast2D debug shape 2022-04-20 17:28:35 +08:00
ray_cast_2d.h Improve RayCast2D debug shape 2022-04-20 17:28:35 +08:00
remote_transform_2d.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
remote_transform_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
skeleton_2d.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
skeleton_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
sprite.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
sprite.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
tile_map.cpp TileMap: Use const ref for all Vector2 parameters 2022-04-30 14:05:57 +02:00
tile_map.h TileMap: Use const ref for all Vector2 parameters 2022-04-30 14:05:57 +02:00
touch_screen_button.cpp Fix TouchScreenButton error spam 2022-04-13 11:43:49 +02:00
touch_screen_button.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
visibility_notifier_2d.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
visibility_notifier_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
y_sort.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
y_sort.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00