question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WebVRManager needs equivalent to VRControls.userHeight

See original GitHub issue

VRControls 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:closed
  • Created 6 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
fernandojsgcommented, Jan 22, 2018

I also believe we should the standingMatrix to fix this issue. If the device doesn’t have a stageParameters 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.

0reactions
Mugen87commented, Feb 19, 2018

With R90, standingMatrix is available again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found