WebVRManager needs equivalent to VRControls.userHeight
See original GitHub issueVRControls
has a userHeight
property that places the camera a given height (usually) above the origin in “standing” mode when the VRDisplay
doesn’t provide a standing matrix.
WebVRManager
doesn’t appear to have an equivalent adjustment, so headsets that do not have roomscale (i.e. anything other than Vive) place the head at or near the floor. Since WebVRManager.getCamera()
sets the position of the camera inside of WebGLRenderer.render()
it’s difficult if not impossible to make that adjustment another way.
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I also believe we should the
standingMatrix
to fix this issue. If the device doesn’t have astageParameters
we could just set the height as described, but if it has, we should use it. Otherwise we’re forcing the same height for everyone, in my case for example I feel the floor is 20cms or so above my feet.With
R90
,standingMatrix
is available again.