You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every time I enter and exit VR mode on mobile device userHeight offset is added multiple times to camera Y position. I used a quick fix, as follows: <a-entity position="0 1.6 0" camera="userHeight: 0.01" look-controls></a-entity>
This helped, as a very small offset is added to camera height, but I assume it will break things on Vive, Oculus and Windows Mixed Reality headsets. :/
Edit: My quick fix also breaks controller position on Daydream and GearVR.
The text was updated successfully, but these errors were encountered:
In the "enter-vr" event listener I set the userHeight to 0 as a workaround. Works in Cardboard and Gear VR with controllers and I guess in the other HMDs as well.
Description:
<a-entity camera="userHeight: 1.6" look-controls></a-entity>
The same happens in an official exmaple:
https://aframe.io/examples/showcase/helloworld/
Every time I enter and exit VR mode on mobile device userHeight offset is added multiple times to camera Y position. I used a quick fix, as follows:
<a-entity position="0 1.6 0" camera="userHeight: 0.01" look-controls></a-entity>
This helped, as a very small offset is added to camera height, but I assume it will break things on Vive, Oculus and Windows Mixed Reality headsets. :/
Edit: My quick fix also breaks controller position on Daydream and GearVR.
The text was updated successfully, but these errors were encountered: