diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-04-16 10:23:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-16 10:23:55 +0200 |
commit | 8bbdd43b09be1fd40c2ef1bfbb9893da6c6864b7 (patch) | |
tree | 045d2815a5ae36d5af8719db83bf2f850398447f /scene | |
parent | dcc82a3f412f31321b03491736df34a4124a5f89 (diff) | |
parent | fd2e652196968add80e41bfcc2562d810527e5b2 (diff) |
Merge pull request #47950 from AndreaCatania/AndreaCatania-patch-4
Lowers the navigation edge margin merge
Diffstat (limited to 'scene')
-rw-r--r-- | scene/resources/world_3d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/world_3d.cpp b/scene/resources/world_3d.cpp index 0e9f7a6cf2..f067771d58 100644 --- a/scene/resources/world_3d.cpp +++ b/scene/resources/world_3d.cpp @@ -348,7 +348,7 @@ World3D::World3D() { navigation_map = NavigationServer3D::get_singleton()->map_create(); NavigationServer3D::get_singleton()->map_set_active(navigation_map, true); NavigationServer3D::get_singleton()->map_set_cell_size(navigation_map, GLOBAL_DEF("navigation/3d/default_cell_size", 0.3)); - NavigationServer3D::get_singleton()->map_set_edge_connection_margin(navigation_map, GLOBAL_DEF("navigation/3d/default_edge_connection_margin", 5.0)); // Five meters, depends a lot on the agent's radius + NavigationServer3D::get_singleton()->map_set_edge_connection_margin(navigation_map, GLOBAL_DEF("navigation/3d/default_edge_connection_margin", 0.3)); #ifdef _3D_DISABLED indexer = nullptr; |