mirror of https://github.com/godotengine/godot
[C#] Fix `Transform3D.InterpolateWith` applying rotation before scale
(cherry picked from commit e2ed63b313)
This commit is contained in:
parent
5318c0ae6b
commit
0177ddb144
|
|
@ -209,7 +209,7 @@ namespace Godot
|
||||||
|
|
||||||
private void Rotate(Quaternion quaternion)
|
private void Rotate(Quaternion quaternion)
|
||||||
{
|
{
|
||||||
this *= new Basis(quaternion);
|
this = new Basis(quaternion) * this;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void SetDiagonal(Vector3 diagonal)
|
private void SetDiagonal(Vector3 diagonal)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue