如何更改每个实体内的A帧相机旋转?

时间:2019-02-04 15:37:34

标签: aframe virtual-reality

我在更改项目中的摄像头旋转时遇到困难。

https://glitch.com/~camera-experiment

每次用户移至新的“区域”时,我都需要使相机旋转以面向不同的方向。这些区域只是具有不同的背景图像。

理想情况下,我只想旋转每个实体的背景图像,但是我也不能这样做。

有人有任何建议吗?任何帮助将不胜感激!

1 个答案:

答案 0 :(得分:0)

使用摄影机装备/包装实体并更改其旋转角度。 aframe - Set camera position at runtime

s.split(' ', 1)[1]==>correct==>it was amazing, and arrived an hour early.
t.split(' ', 1)[1]==>wrong==>@VirginAmerica , am I dreaming?==>'heyyyyy , am I dreaming?' is correct 
m.split(' ', 1)[1]==>wrong==>@VirginAmerica , am I dreaming?==>VirginAmerica==>'heyyyyy , am I dreaming?' is correct
u.split(' ', 1)[1]==>wrong==>IndexError: list index out of range==> ''is correct
f.split(' ', 1)[1]==>wrong==>IndexError: list index out of range==>'...' is correct
h.split(' ', 1)[1]==>wrong==>IndexError: list index out of range==>'@VirginAmerica' is correct