From b59b12f2cdbaf6c7871ca3fba29ce78e7017ad60 Mon Sep 17 00:00:00 2001 From: Vishal Grover Date: Fri, 28 Jan 2022 00:50:22 +0530 Subject: [PATCH] Fix player and mob scene being reversed in Your first game (#5526) Co-authored-by: Hugo Locurcio --- getting_started/first_3d_game/09.adding_animations.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/getting_started/first_3d_game/09.adding_animations.rst b/getting_started/first_3d_game/09.adding_animations.rst index aba52037f..a57699bbe 100644 --- a/getting_started/first_3d_game/09.adding_animations.rst +++ b/getting_started/first_3d_game/09.adding_animations.rst @@ -245,10 +245,10 @@ node structure, you can copy them to different scenes. For example, both the *Mob* and the *Player* scenes have a *Pivot* and a *Character* node, so we can reuse animations between them. -Open the *Mob* scene, select the animation player node and open the float animation. -Next, click on *Animation -> Copy*. Then Open ``Player.tscn`` and open its animation -player. Click *Animation -> Paste*. That's it; all monsters will now play the float -animation. +Open the *Player* scene, select the animation player node and open the "float" animation. +Next, click on **Animation > Copy**. Then open ``Mob.tscn`` and open its animation +player (add an AnimationPlayer child node to Mob it not already done). +Click **Animation > Paste**. That's it; all monsters will now play the float animation. We can change the playback speed based on the creature's ``random_speed``. Open the *Mob*'s script and at the end of the ``initialize()`` function, add the