Document limitations of negative scales in 2D and 3D

(cherry picked from commit 3398fb77a9)
This commit is contained in:
Aaron Franke
2022-06-10 00:56:35 -05:00
committed by Rémi Verschelde
parent 096cea6142
commit fca4af0e58
3 changed files with 3 additions and 0 deletions

View File

@@ -117,6 +117,7 @@
<argument index="0" name="scale" type="Vector2" />
<description>
Returns a copy of the transform scaled by the given [code]scale[/code] factor, using matrix multiplication.
[b]Note:[/b] Negative X scales in 2D are not decomposable from the transformation matrix. Due to the way scale is represented with transformation matrices in Godot, negative scales on the X axis will be changed to negative scales on the Y axis and a rotation of 180 degrees when decomposed.
</description>
</method>
<method name="translated">