how to reset camera position on enter VR?
How can I reset the camera position when the user clicks the enter VR button in an A-Frame scene? I set a nice camera position for desktop wasd-controls users, but want to reset the position and rotation when a Vive user enters VR. I followed the pattern of this answer to setup the camera initially: <!-- Player --> <a-entity id='cameraWrapper' position='1 1.8034 1' rotation='-35 40 0'> <a-entity camera look-controls wasd-controls="fly: true"></a-entity> </a-entity> and here I attempt to reset the position and rotation with the window.onvrdisplaypresentchange event from the WebVR API: // // if