Call out scaling in Spatial.translate docstring

This fixes issue #26938.

(cherry picked from commit bdf51e8e49)
This commit is contained in:
Randall Fulton 2019-06-24 16:33:21 -05:00 committed by Rémi Verschelde
parent 6f637b2bf3
commit f8ee310b69
1 changed files with 1 additions and 0 deletions

View File

@ -274,6 +274,7 @@
</argument> </argument>
<description> <description>
Changes the node's position by given offset [Vector3]. 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> </description>
</method> </method>
<method name="translate_object_local"> <method name="translate_object_local">