diff options
author | Andrea Catania <info@andreacatania.com> | 2021-04-16 09:56:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-16 09:56:39 +0200 |
commit | fd2e652196968add80e41bfcc2562d810527e5b2 (patch) | |
tree | 4dcc29c06b8a2fe3a5495d6a34849c981ba1ec22 /scene/resources | |
parent | cba3b024b5d08b79e4389dc2c374e38ab4a64ff9 (diff) |
Lowers the navigation edge margin merge
Lowers the edge margin merge to avoid merge undesired edges.
Diffstat (limited to 'scene/resources')
-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; |