Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding laser-controles does not work with Vimeo component #27

Open
DimitriBin opened this issue Aug 9, 2020 · 1 comment
Open

Adding laser-controles does not work with Vimeo component #27

DimitriBin opened this issue Aug 9, 2020 · 1 comment

Comments

@DimitriBin
Copy link

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

@DimitriBin
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant