summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkleonc <9283098+kleonc@users.noreply.github.com>2024-03-24 09:22:38 +0100
committerkleonc <9283098+kleonc@users.noreply.github.com>2024-03-24 09:31:20 +0100
commite2ed63b313e3eff714e32f2cd2d01db9f0e2ea9d (patch)
tree9ba4b905d6b9ccc27e6d1646389d69afedb9f094
parent99ff024f78f65ba0bc54fb409cfeca43ba2008fe (diff)
downloadredot-engine-e2ed63b313e3eff714e32f2cd2d01db9f0e2ea9d.tar.gz
[C#] Fix `Transform3D.InterpolateWith` applying rotation before scale
-rw-r--r--modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs
index 8d24582ba1..8679f32e1a 100644
--- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs
+++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs
@@ -212,7 +212,7 @@ namespace Godot
private void Rotate(Quaternion quaternion)
{
- this *= new Basis(quaternion);
+ this = new Basis(quaternion) * this;
}
private void SetDiagonal(Vector3 diagonal)