Fix reference to a node in FPS tutorial part 2 (#3413)

This commit is contained in:
Giuseppe
2020-04-19 23:46:43 +02:00
committed by GitHub
parent f1eff42870
commit b4c20830d1
+2 -2
View File
@@ -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
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.
Next we scale it up by a factor of ``4`` because the bullet scene is a little too small by default.