Unity GVR Cardboard Camera incorrect work on Android

☆樱花仙子☆ 提交于 2019-12-20 02:39:12

问题


I have prepared unity environment to work with Google VR cardboard. Sample project performs fine and all is good. In my project I have Main Camera object, which moves across the scene. I've added "Strereo Controller" (Script) component to the camera and it works fine in Unity editor. But when I start project on Android device camera stand still on one place and doesn't move. What can it be?


回答1:


You can't move the VR Camera, it's the SDK that determine the mainCamera position.

In order to move your camera you can just make a new GameObject as a parent of your mainCamera then move the parent GameObject



来源:https://stackoverflow.com/questions/43610722/unity-gvr-cardboard-camera-incorrect-work-on-android

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