diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-07-04 12:31:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-04 12:31:02 +0200 |
commit | 7b569e91c0c6b84965cad416b8e86dcfdacbcfc4 (patch) | |
tree | fbf8871b6ecc4eefcf8474339a1cf3286e82470c /doc | |
parent | b25d1111c112c2044b767e904d8030b168cf8574 (diff) | |
parent | bdf51e8e49c102d17d311ad765449e5171d178da (diff) |
Merge pull request #30049 from randall-fulton/docs/spatial-transform
Call out scaling in Spatial.translate docstring
Diffstat (limited to 'doc')
-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"> |