mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Merge pull request #2028 from corrigentia/patch-55
Add a missing comma to 2d_movement.rst
This commit is contained in:
@@ -197,7 +197,7 @@ Here we've added two new variables to track our rotation direction and speed.
|
||||
Again, pressing both keys at once will cancel out and result in no rotation.
|
||||
The rotation is applied directly to the body's ``rotation`` property.
|
||||
|
||||
To set the velocity, we use the ``Vector2.rotated()`` method so that it points
|
||||
To set the velocity, we use the ``Vector2.rotated()`` method, so that it points
|
||||
in the same direction as the body. ``rotated()`` is a useful vector function
|
||||
that you can use in many circumstances where you would otherwise need to apply
|
||||
trigonometric functions.
|
||||
|
||||
Reference in New Issue
Block a user