GvrViewerMain rotates the camera yourself. Unity3D + Google VR

99封情书 提交于 2020-01-03 19:44:05

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!