From 0177ddb144916510fd02d5cb165ce87cbc87eca8 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 74425c98355..085c08412fd 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)