问题
I have a problem. Using Google VR + Unity. GameObject Camera automatically changes the angle "Y". The device does not change positions. Maybe fluctuations in the hands. The editor is no problem. The device Samsung S6.
Pic 0 sec
Pic after ~15 sec
public void Update() {
text.text = cameraTransform.eulerAngles.y.ToString();
}
回答1:
Sorry mate but this is a known issue and it's been there since day 1. It's called camera drift. It lives in this beautiful ecosystem of github community where the developers keep closing/ignoring it and the users keep reopening/resubmitting.
https://github.com/googlevr/gvr-unity-sdk/issues/309
来源:https://stackoverflow.com/questions/40864351/gvrviewermain-rotates-the-camera-yourself-unity3d-google-vr