Skip to content

Commit c42e54b

Browse files
authored
Merge pull request godotengine#8772 from docrinehart/first-3d-game-animation-fixes
First 3d game animation fixes
2 parents 6a6f786 + 9bda45c commit c42e54b

File tree

8 files changed

+6
-3
lines changed

8 files changed

+6
-3
lines changed

getting_started/first_3d_game/09.adding_animations.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,15 @@ position key to ``0.3`` seconds and the rotation key to ``0.1`` seconds.
102102
Move the time cursor to ``0.5`` seconds by clicking and dragging on the gray
103103
timeline.
104104

105-
.. image:: img/09.adding_animations/timeline_05_click.webp
105+
|timeline_05_click|
106106

107107
In the *Inspector*, set the *Position*'s *Y* axis to ``0.65`` meters and the *Rotation*' *X* axis to ``8``.
108108

109109
|image13|
110110

111111
Create a keyframe for both properties
112112

113-
.. image:: img/09.adding_animations/second_keys_both.webp
113+
|second_keys_both|
114114

115115
Now, move the position keyframe to ``0.7``
116116
seconds by dragging it on the timeline.
@@ -129,7 +129,7 @@ Move the time cursor to the end of the animation, at ``1.2`` seconds. Set the Y
129129
position to about ``0.35`` and the X rotation to ``-9`` degrees. Once again,
130130
create a key for both properties.
131131

132-
.. image:: img/09.adding_animations/animation_final_keyframes.webp
132+
|animation_final_keyframes|
133133

134134
You can preview the result by clicking the play button or pressing :kbd:`Shift + D`.
135135
Click the stop button or press :kbd:`S` to stop playback.
@@ -628,3 +628,6 @@ And the *Mob*'s script.
628628
.. |image20| image:: img/09.adding_animations/19.ease_in_second_translation_key.png
629629
.. |image21| image:: img/09.adding_animations/20.float_animation.gif
630630
.. |image22| image:: img/09.adding_animations/21.script_icon.png
631+
.. |animation_final_keyframes| image:: img/09.adding_animations/animation_final_keyframes.webp
632+
.. |second_keys_both| image:: img/09.adding_animations/second_keys_both.webp
633+
.. |timeline_05_click| image:: img/09.adding_animations/timeline_05_click.webp
5.36 KB
Loading
1.72 KB
Loading
2.12 KB
Loading
784 Bytes
Loading
5.29 KB
Loading
2.54 KB
Loading
-704 Bytes
Loading

0 commit comments

Comments
 (0)