mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Document limitations of negative scales in 2D and 3D
(cherry picked from commit 3398fb77a9)
This commit is contained in:
committed by
Rémi Verschelde
parent
096cea6142
commit
fca4af0e58
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user