소스 검색

Merge pull request #89843 from kleonc/csharp-transform3d-interpolate-with-first-scale-then-rotate

[C#] Fix `Transform3D.InterpolateWith` applying rotation before scale
Rémi Verschelde 1 년 전
부모
커밋
60d37f1d49
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs

+ 1 - 1
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)