|
@@ -122,7 +122,7 @@ public class BowCamera : MonoBehaviour
|
|
|
needLookAtPoint = false;
|
|
needLookAtPoint = false;
|
|
|
//镜头看向九轴姿态虚拟节点
|
|
//镜头看向九轴姿态虚拟节点
|
|
|
this.transform.LookAt(CameraToLook.ins.point);
|
|
this.transform.LookAt(CameraToLook.ins.point);
|
|
|
- if (BowQuatDebug.ins) BowQuatDebug.ins.ShowRealBowQuat(this.transform.localEulerAngles);
|
|
|
|
|
|
|
+ // if (BowQuatDebug.ins) BowQuatDebug.ins.ShowRealBowQuat(this.transform.localEulerAngles);
|
|
|
if (!CommonConfig.isReleaseVersion) {
|
|
if (!CommonConfig.isReleaseVersion) {
|
|
|
//镜头旋转比值转换
|
|
//镜头旋转比值转换
|
|
|
Vector3 localAngles = this.transform.localEulerAngles;
|
|
Vector3 localAngles = this.transform.localEulerAngles;
|
|
@@ -134,7 +134,7 @@ public class BowCamera : MonoBehaviour
|
|
|
localAngles = bowCameraFixed.LimitBowAngle(localAngles);
|
|
localAngles = bowCameraFixed.LimitBowAngle(localAngles);
|
|
|
}
|
|
}
|
|
|
this.transform.localEulerAngles = localAngles;
|
|
this.transform.localEulerAngles = localAngles;
|
|
|
- if (BowQuatDebug.ins) BowQuatDebug.ins.ShowGameBowQuat(this.transform.localEulerAngles);
|
|
|
|
|
|
|
+ // if (BowQuatDebug.ins) BowQuatDebug.ins.ShowGameBowQuat(this.transform.localEulerAngles);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
onAfterLateUpdate?.Invoke();
|
|
onAfterLateUpdate?.Invoke();
|