Skip to content

Commit e2ed63b

Browse files
committed
[C#] Fix Transform3D.InterpolateWith applying rotation before scale
1 parent 99ff024 commit e2ed63b

File tree

1 file changed

+1
-1
lines changed
  • modules/mono/glue/GodotSharp/GodotSharp/Core

1 file changed

+1
-1
lines changed

modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ internal void SetQuaternionScale(Quaternion quaternion, Vector3 scale)
212212

213213
private void Rotate(Quaternion quaternion)
214214
{
215-
this *= new Basis(quaternion);
215+
this = new Basis(quaternion) * this;
216216
}
217217

218218
private void SetDiagonal(Vector3 diagonal)

0 commit comments

Comments
 (0)