summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-05-12 23:26:20 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-05-12 23:26:20 +0200
commit405aa3f2d6de7614d6dcf2d42bbff188a3e78ba4 (patch)
treeb36b1d9a38940eb10d362606fd1c27ed22a680c2
parentf26a2dbb1b16a8e770a8857e06f9808ea6ddf75d (diff)
parentc60e05694d5f48a145d201a2ba49d5573b74d682 (diff)
downloadredot-engine-405aa3f2d6de7614d6dcf2d42bbff188a3e78ba4.tar.gz
Merge pull request #77005 from paddy-exe/mention-spatial-node3d-ename
Mention "Spatial" rename to "Node3D" in Godot 4
-rw-r--r--doc/classes/Node3D.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Node3D.xml b/doc/classes/Node3D.xml
index 27cb3915ee..b4857bacde 100644
--- a/doc/classes/Node3D.xml
+++ b/doc/classes/Node3D.xml
@@ -7,6 +7,7 @@
Most basic 3D game object, with a [Transform3D] and visibility settings. All other 3D game objects inherit from Node3D. Use [Node3D] as a parent node to move, scale, rotate and show/hide children in a 3D project.
Affine operations (rotate, scale, translate) happen in parent's local coordinate system, unless the [Node3D] object is set as top-level. Affine operations in this coordinate system correspond to direct affine operations on the [Node3D]'s transform. The word local below refers to this coordinate system. The coordinate system that is attached to the [Node3D] object itself is referred to as object-local coordinate system.
[b]Note:[/b] Unless otherwise specified, all methods that have angle parameters must have angles specified as [i]radians[/i]. To convert degrees to radians, use [method @GlobalScope.deg_to_rad].
+ [b]Note:[/b] Be aware that "Spatial" nodes are now called "Node3D" starting with Godot 4. Any Godot 3.x references to "Spatial" nodes refer to "Node3D" in Godot 4.
</description>
<tutorials>
<link title="Introduction to 3D">$DOCS_URL/tutorials/3d/introduction_to_3d.html</link>