Browse Source

Merge pull request #6426 from Element894/patch-1

 Character animation page typo. Line 194 if statement was commented out.
Matthew 2 years ago
parent
commit
1e2f11fbc3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      getting_started/first_3d_game/09.adding_animations.rst

+ 1 - 1
getting_started/first_3d_game/09.adding_animations.rst

@@ -191,7 +191,7 @@ vector, add the following code.
 
    func _physics_process(delta):
        #...
-       #if direction != Vector3.ZERO:
+       if direction != Vector3.ZERO:
            #...
            $AnimationPlayer.playback_speed = 4
        else: