GvrViewerMain可以自己旋转相机. Unity3D + Google VR [英] GvrViewerMain rotates the camera yourself. Unity3D + Google VR

查看:353
本文介绍了GvrViewerMain可以自己旋转相机. Unity3D + Google VR的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有问题.使用Google VR + Unity. GameObject Camera会自动更改角度"Y".设备不会更改位置.也许手中有波动.编辑器没问题.设备三星S6.

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秒

约15秒后拍摄

public void Update() {
    text.text = cameraTransform.eulerAngles.y.ToString();
}

推荐答案

对不起,但这是一个已知问题,从第一天开始就出现了.这称为相机漂移.它生活在github社区这个美丽的生态系统中,在该生态系统中,开发人员不断关闭/忽略它,而用户不断重新打开/重新提交.

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

这篇关于GvrViewerMain可以自己旋转相机. Unity3D + Google VR的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆