diff options
author | smix8 <52464204+smix8@users.noreply.github.com> | 2022-05-15 20:29:23 +0200 |
---|---|---|
committer | smix8 <52464204+smix8@users.noreply.github.com> | 2022-05-15 20:29:23 +0200 |
commit | cc707412e909f117ad53ebe53e19bad43acf086a (patch) | |
tree | 534e88ff40292ec8a4cd7b1d6c8498b9543cedcb /platform/windows/SCsub | |
parent | 6d5d9dd82ad263ae69afc01e73e47320c1f68c04 (diff) |
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.
Diffstat (limited to 'platform/windows/SCsub')
0 files changed, 0 insertions, 0 deletions