supermedium / moonrider

🌕🏄🏿 Surf the musical road among the stars. Side project built by two people in a few months to demonstrate WebXR.
https://moonrider.xyz
MIT License
569 stars 218 forks source link

Controllers freeze #191

Open reallaborious opened 4 months ago

reallaborious commented 4 months ago

In process of game both sabers stick and behave unpredictably. In the menu and outside of moonrider everything is fine, so it's moonrider. It was observed on Quest 3 several songs. Several days ago it was fine, the issue should be in one of the last commits 4 days ago.

dmarcos commented 4 months ago

CC @Maxmystere

Maxmystere commented 4 months ago

What was the browser ?

reallaborious commented 4 months ago

@Maxmystere the browser is default for Oculus Quest 3.

dagelf commented 3 months ago

On my MQ2 hand tracking stopped working today. Works fine in Wolvic (former Firefox VR). Try that? I dont have faith in Oculus/Meta to support WebXR in good faith.

dmarcos commented 3 months ago

@dagelf What do you mean by that hand tracking stopped working? Does this demo work for you on Quest 2?

https://aframe.io/aframe/examples/showcase/hand-tracking/

dagelf commented 3 months ago

@dmarcos Hand tracking on Moonrider.xyz doesn't work on Quest 2 native browser, but works in Wolvic. In the demo link you shared, hand tracking works in Quest 2 native browser, but not in Wolvic. I'm about to download both projects and see if I can figure it out by adding more debugging... any ideas what I'll find?

dmarcos commented 3 months ago

@dagelf Quest 2 behavior I believe is the correct one. Moonrider doesn't have explicit support for hand-tracking (would require adapting UI and gameplay). It might be just a happy accident. afaik Wolvic was returning different profiles for hand tracking than those determined by the standard:

https://github.com/Igalia/wolvic/issues/1103

I think Wolvic even presented in some cases / hardware hands as controllers (using quest controllers webxr profiles). Would be worth checking what are the profiles returned by Wolvic on Quest