-
Notifications
You must be signed in to change notification settings - Fork 22
Adding laser-controles does not work with Vimeo component #27
Copy link
Copy link
Open
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels