Skip to content

Commit

Permalink
[C#] Fix Transform3D.InterpolateWith applying rotation before scale
Browse files Browse the repository at this point in the history
  • Loading branch information
kleonc committed Mar 24, 2024
1 parent 99ff024 commit e2ed63b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ internal void SetQuaternionScale(Quaternion quaternion, Vector3 scale)

private void Rotate(Quaternion quaternion)
{
this *= new Basis(quaternion);
this = new Basis(quaternion) * this;
}

private void SetDiagonal(Vector3 diagonal)
Expand Down

0 comments on commit e2ed63b

Please sign in to comment.