From a8851277d297fc46a01584308ff76b3438e2cbc3 Mon Sep 17 00:00:00 2001 From: kleonc <9283098+kleonc@users.noreply.github.com> Date: Sun, 24 Mar 2024 09:22:38 +0100 Subject: [PATCH] [C#] Fix `Transform3D.InterpolateWith` applying rotation before scale (cherry picked from commit e2ed63b313e3eff714e32f2cd2d01db9f0e2ea9d) --- modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs index b4f7b82f60e..db1ac89a6df 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs @@ -209,7 +209,7 @@ namespace Godot private void Rotate(Quaternion quaternion) { - this *= new Basis(quaternion); + this = new Basis(quaternion) * this; } private void SetDiagonal(Vector3 diagonal)