[SOLVED] VR for devices like Oculus Quest

Now that the Oculus Quest has come out and it’s completely un-tethered which makes it so amazing, what’s the next step for WebVR to take advantage of this?

Like is there already some built in API via playcanvas that can track movement/motion controls? Or do you have to do some fancy stuff to get the tracked motion controllers and headset.

I only ask since playcanvas is optimized for the web and mobile and the Quest itself is using the advantage of mobile tech to do what it can do! Thanks in advance for any insight on this.

Oculus Quest already works great with PlayCanvas apps:

Get started developing for it today. :smile:

1 Like

Oh snaps! Do you have a link to the project so I can investigate?

Also how do you map for movement of the user? Like API’s I NEED DEM API’S!! haha :wink:

Sure. It’s the ‘WebVR Lab’ project in tutorials section of the developer site (filtered on the VR tag):

https://developer.playcanvas.com/en/tutorials/?tags=vr

PERFECT! Thanks for sharing :smiley:

1 Like

Hi community,

I am running the native Oculus Quest (1) web browser and the playcanvas “VR Lab” at
https://developer.playcanvas.com/en/tutorials/webvr-lab/
does not render correctly. It shows up as a floating screen with the 2 fisheye views.

This is a problem I have seen across different WebXR samples on other sites e.g. Aframe. Even from the same website, some WebXR displays immersively as expected and others display on a floating 2D screen.

So, other playcanvas WebXR does work, for example Orange room
https://developer.playcanvas.com/en/tutorials/webxr-orange-room/

Has anyone else encountered this issue?

And, yes, I have tried clicking the Non-VR and 2D-2D buttons in every combination to no avail

WebVR Lab is still using the older WebVR API and not yet been updated to WebXR.

I’m surprised it doesn’t work though as I thought the Quest still supported the older WebVR API :thinking:

Found out that WebVR support was dropped on the Quest a few months ago: https://www.reddit.com/r/oculus/comments/ghne3f/ouclus_retired_webvr_support_from_go_quest/

1 Like

Does Playcanvas have a WebXR solution that is compatible with the Oculus Quest 2?

I haven’t tried with the quest 2 but the quest 1 definitely works. Demos and tutorials here https://developer.playcanvas.com/en/tutorials/?tags=vr

I can confirm it is compatible with Quest 2.

Thanks! I’ll give it a try.

I just got a Quest 2 and WOW - it is remarkable. It performs so well and so convenient compared to the tethered VR products that i’ve tried.

1 Like

I’m wondering what I’m doing wrong…

  1. I forked the WebXR Project https://playcanvas.com/project/794119/overview/webxr
  2. Downloaded the Playcanvas package and posted it to https://d3d.com/WebXR/
  3. Then I view it using the browser inside of the Oculus Quest 2
  4. I click on the AR or VR buttons and nothing happens
  5. It looks fine but there is no way to enter into the full VR scene

Hmm. I just loaded that URL on my Quest 1 and it worked fine. @slimbuck - do you have a Quest 2?

I have a Quest 2 - let me know if you have any ideas.

I have the 1 unfortunately.

Are you 100% sure you are visiting the https link, not http? WebXR doesn’t work over http.

1 Like

You should see a little lock icon in the address bar to confirm it’s https.

it was the “S” in https!

It works! Thanks a bunch.

  • H
2 Likes