summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorsmix8 <52464204+smix8@users.noreply.github.com>2022-06-03 18:47:54 +0200
committersmix8 <52464204+smix8@users.noreply.github.com>2022-06-03 19:17:49 +0200
commit3066091780150847d117acc5210c937af5e015ab (patch)
tree104a4f166f6a12dfed9f2e4553caed853d77e131 /modules
parentf805ecf4e73dc186349784c14862d5519019efed (diff)
Match NavMap and ProjectSettings with NavigationMesh defaults
Match NavMap and ProjectSettings with NavigationMesh defaults since the NavMap edge merging requires a matching cell_size with the NavigationMesh to create connections without issues.
Diffstat (limited to 'modules')
-rw-r--r--modules/navigation/nav_map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/navigation/nav_map.h b/modules/navigation/nav_map.h
index f58a78d4ca..20115dd1b4 100644
--- a/modules/navigation/nav_map.h
+++ b/modules/navigation/nav_map.h
@@ -50,10 +50,10 @@ class NavMap : public NavRid {
/// To find the polygons edges the vertices are displaced in a grid where
/// each cell has the following cell_size.
- real_t cell_size = 0.3;
+ real_t cell_size = 0.25;
/// This value is used to detect the near edges to connect.
- real_t edge_connection_margin = 5.0;
+ real_t edge_connection_margin = 0.25;
bool regenerate_polygons = true;
bool regenerate_links = true;