mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 17:28:58 +00:00
Fix reference to a node in FPS tutorial part 2 (#3413)
This commit is contained in:
@@ -694,9 +694,9 @@ If the currently loaded/open scene is ``Testing_Area.tscn``, we'd be adding our
|
|||||||
.. warning:: As mentioned later below in the section on adding sounds, this method makes an assumption. This will be explained later
|
.. warning:: As mentioned later below in the section on adding sounds, this method makes an assumption. This will be explained later
|
||||||
in the section on adding sounds in :ref:`doc_fps_tutorial_part_three`
|
in the section on adding sounds in :ref:`doc_fps_tutorial_part_three`
|
||||||
|
|
||||||
Next we set the global transform of the clone to the ``Pistol_Aim_Point``'s global transform. The reason we do this is so the bullet is spawned at the end of the pistol.
|
Next we set the global transform of the clone to the ``Pistol_Point``'s global transform. The reason we do this is so the bullet is spawned at the end of the pistol.
|
||||||
|
|
||||||
You can see that ``Pistol_Aim_Point`` is positioned right at the end of the pistol by clicking the :ref:`AnimationPlayer <class_AnimationPlayer>` and
|
You can see that ``Pistol_Point`` is positioned right at the end of the pistol by clicking the :ref:`AnimationPlayer <class_AnimationPlayer>` and
|
||||||
scrolling through ``Pistol_fire``. You'll find the position is more or less at the end of the pistol when it fires.
|
scrolling through ``Pistol_fire``. You'll find the position is more or less at the end of the pistol when it fires.
|
||||||
|
|
||||||
Next we scale it up by a factor of ``4`` because the bullet scene is a little too small by default.
|
Next we scale it up by a factor of ``4`` because the bullet scene is a little too small by default.
|
||||||
|
|||||||
Reference in New Issue
Block a user