在Gear VR上加载场景时,如何防止自动重新居中? [英] How to prevent automatic re-centering when scene is loaded on Gear VR?

查看:132
本文介绍了在Gear VR上加载场景时,如何防止自动重新居中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Unity 5和OVR实用程序,所以我希望避免在每次加载新场景时将场景重新定位.基本上,我希望玩家能够坐下,即使他在加载新场景时正看着自己的右边,我希望他能够继续游戏而不必使用一些手动的居中操作或必须改变他的坐姿. 我发现另外2个帖子有相同的问题,但仅适用于其他VR平台,它们不能解决我的问题:

I'm using Unity 5 and OVR utilities, I'd like to avoid the scene being recentered every time I load a new scene. Basically, I'd like the player to be able to sit down and even if he's looking at his right at the moment of a new scene loading, I'd like him to be able to continue playing without having to use some manual recentering or having to change his sitting position. I've found 2 other posts with the same question but only for other VR platforms and they didn't solve my problem:

坚持使用Google Cardboard

Google Cardboard-如何换场景时也要面对相同的方式?

推荐答案

结果是,如果您使用的是Oculus的OVR实用工具,则可以在编辑器中设置一个非常简单的基于布尔的解决方案:

Turns out, if you're using OVR Utilities from Oculus, there's a very simple boolean-based solution that you can set in the Editor:

  1. 找到附加到OVRCameraRig的OVRManager脚本
  2. 取消选中加载时重置跟踪器"

这篇关于在Gear VR上加载场景时,如何防止自动重新居中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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