Open DimitriBin opened 4 years ago
Hi, When in VR Mode in the VR headset (oculus quest), the laser controls do not work when using the vimeo component. Does anyone know why this is? or have a workaround ?
Working code example below without vimeo, lasers work fine:
<a-scene > <a-videosphere ></a-videosphere> <a-box color="tomato" depth="2" height="4" width="0.5" position="0 2.4 -8"></a-box> <a-entity laser-controls="hand: left" raycaster="objects: .collidable" line="color: #26608c"></a-entity> <a-entity laser-controls="hand: right" raycaster="objects: .collidable" line="color: #26608c"></a-entity> </a-scene>
NOT working code example:
<a-scene > <a-videosphere vimeo="id: XXXXXXXXXX; autoplay: true;" ></a-videosphere> <a-box color="tomato" depth="2" height="4" width="0.5" position="0 2.4 -8"></a-box> <a-entity laser-controls="hand: left" raycaster="objects: .collidable" line="color: #26608c"></a-entity> <a-entity laser-controls="hand: right" raycaster="objects: .collidable" line="color: #26608c"></a-entity> </a-scene>
Thanks a lot
here's the glitch project:
https://stormy-melodious-feta.glitch.me https://stormy-melodious-feta.glitch.me/working https://stormy-melodious-feta.glitch.me/notworking
thank you for looking into this
Hi, When in VR Mode in the VR headset (oculus quest), the laser controls do not work when using the vimeo component. Does anyone know why this is? or have a workaround ?
Working code example below without vimeo, lasers work fine:
NOT working code example:
Thanks a lot