diff options
Diffstat (limited to 'doc/classes/Spatial.xml')
-rw-r--r-- | doc/classes/Spatial.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/Spatial.xml b/doc/classes/Spatial.xml index 0309e73eec..53c44caed1 100644 --- a/doc/classes/Spatial.xml +++ b/doc/classes/Spatial.xml @@ -277,7 +277,7 @@ <argument index="0" name="offset" type="Vector3"> </argument> <description> - Changes the node's position by given offset [Vector3]. + Changes the node's position by the given offset [Vector3]. Note that the translation [code]offset[/code] is affected by the node's scale, so if scaled by e.g. [code](10, 1, 1)[/code], a translation by an offset of [code](2, 0, 0)[/code] would actually add 20 ([code]2 * 10[/code]) to the X coordinate. </description> </method> @@ -287,6 +287,7 @@ <argument index="0" name="offset" type="Vector3"> </argument> <description> + Changes the node's position by the given offset [Vector3] in local space. </description> </method> <method name="update_gizmo"> |