-
Notifications
You must be signed in to change notification settings - Fork 365
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
Animation does not work in WebXR #466
Comments
did you find the way to solve this problem, we found theatr.js animation will frozen when enter AR or VR mode on quest browser. |
No resolution, ended up writing my own animation UI. Ideally this is addressed in the next version. |
do you use rafDriver ? |
I've tried to use it yeah, couldn't get it working |
I just made a simple demo using aframe, it works on quest browser https://jerryhou77.github.io/aframe/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Animation works on quest when the browser is open, but not when its closed. This makes me thing there's a check for window, to make sure its valid. However, WebXR sessions do not have a window object. I can understand that its important to check for a server side rendered component, but maybe there's another way to check rather than using window == "undefined".
A couple example lines
theatre/theatre/core/src/sequences/TheatreSequence.ts
Line 352 in 9083186
theatre/theatre/core/src/coreTicker.ts
Line 25 in 9083186
The text was updated successfully, but these errors were encountered: