diff --git a/getting_started/first_3d_game/09.adding_animations.rst b/getting_started/first_3d_game/09.adding_animations.rst index 01c809d93..a524202ce 100644 --- a/getting_started/first_3d_game/09.adding_animations.rst +++ b/getting_started/first_3d_game/09.adding_animations.rst @@ -451,11 +451,11 @@ Here's the *Player* script. direction = direction.Normalized(); // Setting the basis property will affect the rotation of the node. GetNode("Pivot").Basis = Basis.LookingAt(direction); - GetNode("AnimationPlayer").PlaybackSpeed = 4; + GetNode("AnimationPlayer").SpeedScale = 4; } else { - GetNode("AnimationPlayer").PlaybackSpeed = 1; + GetNode("AnimationPlayer").SpeedScale = 1; } // Ground velocity