diff options
author | kobewi <kobewi4e@gmail.com> | 2022-09-29 13:21:15 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2022-09-29 13:34:28 +0200 |
commit | c080b9dc05d57cf9363d8fcde42689c943387607 (patch) | |
tree | 43b67c3e02d0b3decd5ab934debe807e130011dd /doc/classes/Node3D.xml | |
parent | 6991e9b43d0954018e1a82fa4cb28af42632ae92 (diff) | |
download | redot-engine-c080b9dc05d57cf9363d8fcde42689c943387607.tar.gz |
Fail look_at() if not inside tree
Diffstat (limited to 'doc/classes/Node3D.xml')
-rw-r--r-- | doc/classes/Node3D.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Node3D.xml b/doc/classes/Node3D.xml index 96ce10745d..3df7ec931f 100644 --- a/doc/classes/Node3D.xml +++ b/doc/classes/Node3D.xml @@ -116,7 +116,7 @@ Rotates the node so that the local forward axis (-Z) points toward the [param target] position. The local up axis (+Y) points as close to the [param up] vector as possible while staying perpendicular to the local forward axis. The resulting transform is orthogonal, and the scale is preserved. Non-uniform scaling may not work correctly. The [param target] position cannot be the same as the node's position, the [param up] vector cannot be zero, and the direction from the node's position to the [param target] vector cannot be parallel to the [param up] vector. - Operations take place in global space. + Operations take place in global space, which means that the node must be in the scene tree. </description> </method> <method name="look_at_from_position"> |