Skip to content

Commit b59b12f

Browse files
vgrover21Calinou
andauthored
Fix player and mob scene being reversed in Your first game (godotengine#5526)
Co-authored-by: Hugo Locurcio <[email protected]>
1 parent 88820f9 commit b59b12f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

getting_started/first_3d_game/09.adding_animations.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,10 +245,10 @@ node structure, you can copy them to different scenes.
245245
For example, both the *Mob* and the *Player* scenes have a *Pivot* and a
246246
*Character* node, so we can reuse animations between them.
247247

248-
Open the *Mob* scene, select the animation player node and open the float animation.
249-
Next, click on *Animation -> Copy*. Then Open ``Player.tscn`` and open its animation
250-
player. Click *Animation -> Paste*. That's it; all monsters will now play the float
251-
animation.
248+
Open the *Player* scene, select the animation player node and open the "float" animation.
249+
Next, click on **Animation > Copy**. Then open ``Mob.tscn`` and open its animation
250+
player (add an AnimationPlayer child node to Mob it not already done).
251+
Click **Animation > Paste**. That's it; all monsters will now play the float animation.
252252

253253
We can change the playback speed based on the creature's ``random_speed``. Open
254254
the *Mob*'s script and at the end of the ``initialize()`` function, add the

0 commit comments

Comments
 (0)