diff options
author | Randall Fulton <randall.ml.fulton@gmail.com> | 2019-06-24 16:33:21 -0500 |
---|---|---|
committer | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-07-04 11:56:17 +0200 |
commit | bdf51e8e49c102d17d311ad765449e5171d178da (patch) | |
tree | 5c459c8c7045c2ed55f14a1cd7ac423102754a50 /doc/classes/Spatial.xml | |
parent | d6d487d7f70e558972c6750fc0f53a166dbd0fc8 (diff) |
Call out scaling in Spatial.translate docstring
This fixes issue #26938.
Diffstat (limited to 'doc/classes/Spatial.xml')
-rw-r--r-- | doc/classes/Spatial.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Spatial.xml b/doc/classes/Spatial.xml index 9f4118aa7b..09a5bf3b8f 100644 --- a/doc/classes/Spatial.xml +++ b/doc/classes/Spatial.xml @@ -274,6 +274,7 @@ </argument> <description> Changes the node's position by 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> <method name="translate_object_local"> |