Skip to content

Commit bd519bf

Browse files
committed
Make it clear Node2D.look_at() aligns the +X axis
1 parent 6118592 commit bd519bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/classes/Node2D.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@
4444
<return type="void" />
4545
<param index="0" name="point" type="Vector2" />
4646
<description>
47-
Rotates the node so it points towards the [param point], which is expected to use global coordinates.
47+
Rotates the node so that its local +X axis points towards the [param point], which is expected to use global coordinates.
48+
[param point] should not be the same as the node's position, otherwise the node always looks to the right.
4849
</description>
4950
</method>
5051
<method name="move_local_x">

0 commit comments

Comments
 (0)