Hi everyone,
I have a project and is already working in an amazing way in my PC, but in my smartphone works so bad, I'm using moto x play and the gyroscope is not part of it, so it vibrates like crazy and I can't move around or do anything.
So I'm looking for disabling the VR by default. I read about the ViewManager and the method disableVR() but I don't know how to use it since is not clear to me ...
Hope someone can help me, thanks in advice!
How to disable the Web VR
Re: How to disable the Web VR
Hello,
Is your question is : How to disable the Gyro controller ?
Have a nice day
Is your question is : How to disable the Gyro controller ?
Have a nice day

- Raphaël
Re: How to disable the Web VR
Sorry I'm really new to this, but basically this happens...
I open the site in my PC, then I can move around with the mouse/keys, but when I open it in my smartphone (Android) it vibrates like a crazy, and I think yes, is the gyroscope which is not there (Moto X Play) ...
So what I want is to move with the mouse/touch screen instead of the gyroscope in all the smartphones and pcs by default (or any device in general)
I open the site in my PC, then I can move around with the mouse/keys, but when I open it in my smartphone (Android) it vibrates like a crazy, and I think yes, is the gyroscope which is not there (Moto X Play) ...
So what I want is to move with the mouse/touch screen instead of the gyroscope in all the smartphones and pcs by default (or any device in general)
Re: How to disable the Web VR
Hey asfo,
So you need to explicit the controllers in your json configuration.
To do that, you have to add the following object at the root of your json configuration
Hope this helps !
So you need to explicit the controllers in your json configuration.
To do that, you have to add the following object at the root of your json configuration
- "controllers":
- {
- "instances":
- [
- {
- "uid": "gyroscope-controller",
- "type": "gyroscope",
- "enabled": false
- },
- {
- "uid": "pointer-controller",
- "type": "pointer",
- "enabled": true
- }
- ]
- },
Hope this helps !
- Raphaël
Who is online
Users browsing this forum: No registered users and 2 guests