From 8b16a4131fa1073c098a6ac1c987cfd7d6bb5408 Mon Sep 17 00:00:00 2001
From: foxydevloper <12120644+foxydevloper@users.noreply.github.com>
Date: Wed, 21 Jul 2021 00:13:52 -0400
Subject: Add global_position and global_rotation to Node3D
---
doc/classes/Node3D.xml | 7 +++++++
1 file changed, 7 insertions(+)
(limited to 'doc/classes')
diff --git a/doc/classes/Node3D.xml b/doc/classes/Node3D.xml
index ac434af4fa..ff2afd595a 100644
--- a/doc/classes/Node3D.xml
+++ b/doc/classes/Node3D.xml
@@ -281,6 +281,13 @@
Direct access to the 3x3 basis of the [Transform3D] property.
+
+ Global position of this node. This is equivalent to [code]global_transform.origin[/code].
+
+
+ Rotation part of the global 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.
+
World3D space (global) [Transform3D] of this node.
--
cgit v1.2.3