You are not logged in.

Dear visitor, welcome to Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Friday, January 13th 2017, 4:08pm

Separate Gyro and WebVR controls?

Hi everyone,

So the project I'm working on has the WebVR button, and for a few reasons, we need a separate button to toggle only the gyro. The problem I'm having, is that when WebVR is inluded, my usual method of toggling the gyro doesn't work. (Just for some background, we use a JS/KrPano call to enable and disable the gyro plugin.)

I've dug around the vtourskin.xml and the webvr.xml, but I can't see anything that would interfere, since my gyro toggle doesn't call WebVR.

If someone has a clue how to separate the two, I'd greatly appreciate the tip.




Posts: 1,051

Location: Osijek, Croatia, EU

  • Send private message


Saturday, January 14th 2017, 6:14pm

Toggling Gyro work even if you use VR. So, there must be something related you are doing when enabling VR that influence your gyro. Have you debugged your gyro in both scenario.
Is gyro properly defined. Add trace(gyro-available); on gyor onavailable attribute. Hard to say without seeing the code.

Similar threads