diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-06-08 15:56:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-08 15:56:22 +0200 |
commit | 07029e94f4c641df9bb33bffecb8657746f6f8ef (patch) | |
tree | 2bbc9a9786483bf8e560b98d8838b5101166a189 /scene | |
parent | 7e6f26c582bd29aa3d2197d7e7ee4dc3df530644 (diff) | |
parent | 3066091780150847d117acc5210c937af5e015ab (diff) |
Merge pull request #61662 from smix8/navigation_map_cell_defaults_4.x
Diffstat (limited to 'scene')
-rw-r--r-- | scene/resources/world_3d.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/world_3d.cpp b/scene/resources/world_3d.cpp index 0088236112..eb0af63975 100644 --- a/scene/resources/world_3d.cpp +++ b/scene/resources/world_3d.cpp @@ -150,8 +150,8 @@ 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", 0.3)); + NavigationServer3D::get_singleton()->map_set_cell_size(navigation_map, GLOBAL_DEF("navigation/3d/default_cell_size", 0.25)); + NavigationServer3D::get_singleton()->map_set_edge_connection_margin(navigation_map, GLOBAL_DEF("navigation/3d/default_edge_connection_margin", 0.25)); } World3D::~World3D() { |