Document limitations of negative scales in 2D and 3D

This commit is contained in:
Aaron Franke
2022-06-10 00:56:35 -05:00
parent e29a395571
commit 3398fb77a9
3 changed files with 3 additions and 0 deletions

View File

@@ -163,6 +163,7 @@
<argument index="0" name="scale" type="Vector2" />
<description>
Sets the transform's scale.
[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="set_skew">