From 872ce15ab4c7fd48c45d45dcfd912137be3b971b Mon Sep 17 00:00:00 2001 From: Yogi <1273750265@qq.com> Date: Wed, 4 Dec 2024 21:11:45 +0800 Subject: [PATCH] debug --- Assets/Scripts/GameManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/GameManager.cs b/Assets/Scripts/GameManager.cs index 3ffddd2..d36005e 100644 --- a/Assets/Scripts/GameManager.cs +++ b/Assets/Scripts/GameManager.cs @@ -118,7 +118,7 @@ public class GameManager : MonoBehaviour brainTrans.rotation = Quaternion.Euler(new Vector3(filteredRoll, filteredPitch, angleZ)); break; case AxisArr.XZY: - brainTrans.rotation = Quaternion.Euler(new Vector3(filteredRoll, angleZ, filteredPitch)); + brainTrans.rotation = Quaternion.Euler(new Vector3(filteredRoll, -angleZ, filteredPitch)); break; default: break;