[英]How do you tilt a skybox in Unity while using MRTK
I'm develping using Unity and MRTK. 我正在使用Unity和MRTK。 I'm using the VideoPlayer and the Skybox/Panoramic texture to render a stereoscopic video on the skybox, which works fine until I'm seated in a different position, in an armchair for example, with my head not completely perpendicular to the horizon.
我正在使用VideoPlayer和“天空盒/全景”纹理在天空盒上渲染立体视频,该视频在直到我坐在不同位置(例如,坐在扶手椅上)且头部不完全垂直于地平线的情况下都可以正常工作。
I know there is a way to orbit the skybox, but what I need is to rotate it along the x axis (movement from top to botom). 我知道有一种绕天盒运行的方法,但是我需要沿着x轴旋转它(从顶部到底部移动)。 Any way to do this?
有什么办法吗? Otherwise, how could I rotate that movie/clip I'm playing?
否则,如何旋转正在播放的电影/剪辑?
Thanks for any help! 谢谢你的帮助!
I know this is most likely not kosher, but I solved my problem by rotating the MixedRealtyPlayspace transform. 我知道这很可能不是犹太洁食,但是我通过旋转MixedRealtyPlayspace变换解决了我的问题。 Really not ideal, but it works....
确实不是很理想,但确实可行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.