mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-08 10:10:54 +03:00
Update getting_started/step_by_step/scripting_player_input.rst
Updating phrasing per suggestion Co-authored-by: Matthew <matthewehr@hotmail.com>
This commit is contained in:
@@ -79,7 +79,7 @@ right arrows on the keyboard or left and right on a gamepad's D-pad.
|
||||
Finally, we use the ``direction`` as a multiplier when we update the node's
|
||||
``rotation``: ``rotation += angular_speed * direction * delta``.
|
||||
|
||||
Comment out the lines ``var velocity = Vector2.UP.rotated(rotation) * speed`` and ``position += velocity * delta`` with the code below:
|
||||
Comment out the lines ``var velocity = Vector2.UP.rotated(rotation) * speed`` and ``position += velocity * delta`` like this:
|
||||
|
||||
.. tabs::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user