Browse Source

Merge pull request #9389 from alexey-pkv/navigation-tutorial-typo-fix

Fix typo in Using NavigationServer tutorial page
Max Hilbrunner 1 year ago
parent
commit
0af7b29515
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tutorials/navigation/navigation_using_navigationservers.rst

+ 1 - 1
tutorials/navigation/navigation_using_navigationservers.rst

@@ -108,7 +108,7 @@ Afterwards the function waits for the next physics frame before continuing with
 
 
         # create a new navigation region and add it to the map
         # create a new navigation region and add it to the map
         var region: RID = NavigationServer3D.region_create()
         var region: RID = NavigationServer3D.region_create()
-        NavigationServer3D.region_set_transform(region, Transform())
+        NavigationServer3D.region_set_transform(region, Transform3D())
         NavigationServer3D.region_set_map(region, map)
         NavigationServer3D.region_set_map(region, map)
 
 
         # create a procedural navigation mesh for the region
         # create a procedural navigation mesh for the region