From 6b8f603ea80a444c47112f35b0e810fc08bd2d42 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 14 Jul 2024 21:09:58 +0200 Subject: [PATCH] Backported from godot: [C#] Fix Transform3D.InterpolateWith applying rotation before scale - kleonc authored and akien-mga committed https://github.com/godotengine/godot/commit/1db5090dcd7bebcf35b587dc148f37a2368c1530 --- glue/GodotSharp/GodotSharp/Core/Basis.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glue/GodotSharp/GodotSharp/Core/Basis.cs b/glue/GodotSharp/GodotSharp/Core/Basis.cs index 675fd29..a44d116 100644 --- a/glue/GodotSharp/GodotSharp/Core/Basis.cs +++ b/glue/GodotSharp/GodotSharp/Core/Basis.cs @@ -253,7 +253,7 @@ namespace Godot private void Rotate(Quaternion quaternion) { - this *= new Basis(quaternion); + this = new Basis(quaternion) * this; } private void SetDiagonal(Vector3 diagonal)