diff --git a/doc/classes/Node2D.xml b/doc/classes/Node2D.xml index 3ce51e83d6a..4b56f582923 100644 --- a/doc/classes/Node2D.xml +++ b/doc/classes/Node2D.xml @@ -19,11 +19,11 @@ Multiplies the current scale by the [param ratio] vector. - + - Returns the angle between the node and the [param point] in radians. + Returns the angle between the node and the [param point] in radians. See also [method look_at]. [url=https://raw.githubusercontent.com/godotengine/godot-docs/master/img/node2d_get_angle_to.png]Illustration of the returned angle.[/url] @@ -45,7 +45,7 @@ - Rotates the node so that its local +X axis points towards the [param point], which is expected to use global coordinates. + Rotates the node so that its local +X axis points towards the [param point], which is expected to use global coordinates. This method is a combination of both [method rotate] and [method get_angle_to]. [param point] should not be the same as the node's position, otherwise the node always looks to the right. @@ -69,7 +69,7 @@ - Applies a rotation to the node, in radians, starting from its current rotation. + Applies a rotation to the node, in radians, starting from its current rotation. This is equivalent to [code]rotation += radians[/code]. @@ -90,7 +90,7 @@ - Translates the node by the given [param offset] in local coordinates. + Translates the node by the given [param offset] in local coordinates. This is equivalent to [code]position += offset[/code].