mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-07 02:12:07 +03:00
Sync paragraph with master in First 3D game - Animating the mobs
This commit is contained in:
@@ -245,9 +245,9 @@ 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 *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. Click *Animation -> Paste*. That's it; all monsters will now play the float
|
||||
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. 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
|
||||
|
||||
Reference in New Issue
Block a user