From 606cfa9a47a945eefa6e4f2cf64599af9f0157ab Mon Sep 17 00:00:00 2001 From: Tomasz Chabora Date: Sun, 25 Oct 2020 13:24:08 +0100 Subject: Fix Vector2.angle_to_point() being reversed --- doc/classes/Vector2.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'doc/classes') 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 @@ 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] -- cgit v1.2.3