From bd519bfbceb08565e520e64bacd549e584a584fe Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Mon, 29 Apr 2024 08:12:26 +0800 Subject: [PATCH] Make it clear Node2D.look_at() aligns the +X axis --- doc/classes/Node2D.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/classes/Node2D.xml b/doc/classes/Node2D.xml index 091acdf6f26..851290de7bf 100644 --- a/doc/classes/Node2D.xml +++ b/doc/classes/Node2D.xml @@ -44,7 +44,8 @@ - Rotates the node so it 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. + [param point] should not be the same as the node's position, otherwise the node always looks to the right.