Aframe A帧:光标在VR中固定且不移动

Aframe A帧:光标在VR中固定且不移动,aframe,virtual-reality,Aframe,Virtual Reality,我使用基于凝视的控件和A-frame光标组件来导航。虽然它在我的桌面和手机浏览器中工作得很好,但光标是固定的,在VR模式下不会移动(不适用于谷歌硬纸板,也不适用于Oculus浏览器或Firefox Reality) 以下是我使用的代码: <a-camera> <a-cursor cursor="fuse: true; fuseTimeout: 2000" position="0 0 -1" geometry="primitive: ring; rad

我使用基于凝视的控件和A-frame光标组件来导航。虽然它在我的桌面和手机浏览器中工作得很好,但光标是固定的,在VR模式下不会移动(不适用于谷歌硬纸板,也不适用于Oculus浏览器或Firefox Reality)

以下是我使用的代码:

<a-camera>
  <a-cursor
    cursor="fuse: true; fuseTimeout: 2000"
    position="0 0 -1"
    geometry="primitive: ring; radiusInner: 0.01; radiusOuter: 0.02"
    material="color: red; shader: flat">
  </a-cursor>
</a-camera>


我在HTML的头部使用以下脚本:

<script src="https://aframe.io/releases/1.0.3/aframe.min.js"></script>
<script src="https://unpkg.com/aframe-event-set-component@5/dist/aframe-event-set-component.min.js"></script>
<script src="https://unpkg.com/aframe-layout-component@5.3.0/dist/aframe-layout-component.min.js"></script>
<script src="https://unpkg.com/aframe-template-component@3.2.1/dist/aframe-template-component.min.js"></script>
<script src="https://unpkg.com/aframe-proxy-event-component@2.1.0/dist/aframe-proxy-event-component.min.js"></script>

这是一个最近修复的错误。它将在1.0.4中发布,但您可以同时使用主版本:

非常感谢。现在工作:)。我暂时迁移到1.01版,并将在1.04发布后立即安装。