Browse Source

Fix typo in Using NavigationServer tutorial page

(cherry picked from commit 8a9780670bb2aedf38e03c2cc9196329f564f314)
Alexey Puchkov 1 year ago
parent
commit
a39df66736
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
         var region: RID = NavigationServer3D.region_create()
-        NavigationServer3D.region_set_transform(region, Transform())
+        NavigationServer3D.region_set_transform(region, Transform3D())
         NavigationServer3D.region_set_map(region, map)
 
         # create a procedural navigation mesh for the region