Browse Source

Merge pull request #7349 from ddxt/patch-1

Max Hilbrunner 2 years ago
parent
commit
a8867973bb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tutorials/navigation/navigation_introduction_3d.rst

+ 1 - 1
tutorials/navigation/navigation_introduction_3d.rst

@@ -157,7 +157,7 @@ a NavigationAgent3D for path movement.
         new_velocity = new_velocity.normalized()
         new_velocity = new_velocity.normalized()
         new_velocity = new_velocity * movement_speed
         new_velocity = new_velocity * movement_speed
 
 
-        velocity = safe_velocity
+        velocity = new_velocity
         move_and_slide()
         move_and_slide()
 
 
  .. code-tab:: csharp C#
  .. code-tab:: csharp C#