From a6e44bd16c89b454dba697c96a0ee47c6a7ff156 Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Tue, 8 Dec 2020 17:35:30 +0000 Subject: Rename Node3D's property translation to position --- doc/classes/Node3D.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/classes') diff --git a/doc/classes/Node3D.xml b/doc/classes/Node3D.xml index 6cc5bf61e9..a6237708c6 100644 --- a/doc/classes/Node3D.xml +++ b/doc/classes/Node3D.xml @@ -291,6 +291,9 @@ World3D space (global) [Transform3D] of this node. + + Local position or translation of this node relative to the parent. This is equivalent to [code]transform.origin[/code]. + Rotation part of the local transformation in radians, specified in terms of YXZ-Euler angles in the format (X angle, Y angle, Z angle). [b]Note:[/b] In the mathematical sense, rotation is a matrix and not a vector. The three Euler angles, which are the three independent parameters of the Euler-angle parametrization of the rotation matrix, are stored in a [Vector3] data structure not because the rotation is a vector, but only because [Vector3] exists as a convenient data-structure to store 3 floating-point numbers. Therefore, applying affine operations on the rotation "vector" is not meaningful. @@ -307,9 +310,6 @@ Local space [Transform3D] of this node, with respect to the parent node. - - Local translation of this node. - If [code]true[/code], this node is drawn. The node is only visible if all of its antecedents are visible as well (in other words, [method is_visible_in_tree] must return [code]true[/code]). -- cgit v1.2.3