summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-11-15 09:56:21 +0100
committerGitHub <noreply@github.com>2021-11-15 09:56:21 +0100
commitd975b1bc3787db88dfbe4d02909fbe82e023605d (patch)
tree9b74687c40cd63d49441aba787bc2ee7b061e386 /doc
parentb6c002f32d3ee01f227dbaaf15caf5ce378f2fb6 (diff)
parent606cfa9a47a945eefa6e4f2cf64599af9f0157ab (diff)
Merge pull request #43072 from KoBeWi/point_to_angle
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Vector2.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Vector2.xml b/doc/classes/Vector2.xml
index eaaf41561a..02770472fa 100644
--- a/doc/classes/Vector2.xml
+++ b/doc/classes/Vector2.xml
@@ -75,6 +75,7 @@
<argument index="0" name="to" type="Vector2" />
<description>
Returns the angle between the line connecting the two points and the X axis, in radians.
+ [code]a.angle_to_point(b)[/code] is equivalent of doing [code](b - a).angle()[/code].
[url=https://raw.githubusercontent.com/godotengine/godot-docs/master/img/vector2_angle_to_point.png]Illustration of the returned angle.[/url]
</description>
</method>