From 9bf97b9582aa0a1ddb319f818261abfa940e2b23 Mon Sep 17 00:00:00 2001 From: PhairZ Date: Mon, 11 Nov 2024 17:02:30 +0200 Subject: [PATCH] Update [code]Transform3D.rotated_local()[/code] description fixes #97799 --- doc/classes/Transform3D.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/Transform3D.xml b/doc/classes/Transform3D.xml index 30c141659aa..e3e1045bfe2 100644 --- a/doc/classes/Transform3D.xml +++ b/doc/classes/Transform3D.xml @@ -128,7 +128,7 @@ Returns a copy of this transform rotated around the given [param axis] by the given [param angle] (in radians). - The [param axis] must be a normalized vector. + The [param axis] must be a normalized vector in the transform's local coordinate system. For example, to rotate around the local X-axis, use [constant Vector3.RIGHT]. This method is an optimized version of multiplying the given transform [code]X[/code] with a corresponding rotation transform [code]R[/code] from the right, i.e., [code]X * R[/code]. This can be seen as transforming with respect to the local frame.