Backported from godot: [C#] Fix Transform3D.InterpolateWith applying rotation before scale

- kleonc authored and akien-mga committed
1db5090dcd
This commit is contained in:
Relintai 2024-07-14 21:09:58 +02:00
parent a1f2ac9c98
commit 6b8f603ea8

View File

@ -253,7 +253,7 @@ namespace Godot
private void Rotate(Quaternion quaternion) private void Rotate(Quaternion quaternion)
{ {
this *= new Basis(quaternion); this = new Basis(quaternion) * this;
} }
private void SetDiagonal(Vector3 diagonal) private void SetDiagonal(Vector3 diagonal)