How to Use WebVR Plugin's ResetSensor()

  • Hi guys

    I am new at programming and krpano.

    I have an introduction page with thumbnail previews and then linked scenes of panorama pics with hotspots. I would like to be able to see the same startview for every scene after i enter VRmode. Where and how should I use the resetSensor(hlookat) ? Should I use it in the tour.xml or webvr.xml? how should I code it?

    When i Enter VR mode on my mobile device, I would like to see the startview that i have set no matter which position i am standing.

    I did this.

    onstart="lookat(179.999,0); if(webvr.isenabled == true, webvr.resetSensor(hlookat));"

    And upon using the resetSensor(hlookat); , where should i delete the KEEPMOVING ?

    Thanks.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!