webxr-input-profiles icon indicating copy to clipboard operation
webxr-input-profiles copied to clipboard

touch-v3 controller assets have rotation/position offset when using Quest + Link

Open hybridherbst opened this issue 2 years ago • 4 comments

Describe the bug

To Reproduce Steps to reproduce the behavior:

  1. Attach Oculus Quest to desktop PC and enable Link
  2. Go to https://immersive-web.github.io/webxr-samples/input-profiles.html
  3. Click on "Enter VR"
  4. Place controller circle on a flat surface
  5. Observe position and rotation error in VR compared to real world
  6. Place controller circles against each other
  7. Observe position and rotation error in VR compared to real world

On Quest in the Oculus browser, orientation is correct; when you repeat the above on Quest with Link disabled you get a pretty perfect match between real world and virtual objects.

Expected behavior Quest + Link controller model should match real-world orientation and position.

Screenshots In VR via Quest + Link - note that there's not only a position but also a rotation offset (both are tilted outwards) image

Oculus Home via Quest + Link controller orientation image

Real-world orientation 1641223773341-01

Version Latest used on https://immersive-web.github.io/webxr-samples/input-profiles.html

Desktop (please complete the following information):

  • OS: [Windows]
  • 3D engine: [all]
  • Browser [chrome]

hybridherbst avatar Jan 03 '22 15:01 hybridherbst

@cabanier do you know if this is an issue with Oculus controllers?

Yonet avatar Jan 04 '22 02:01 Yonet

@Artyom17 and I have brought this up before as something that WebXR could address.. The controllers need an additional offset to be perfectly placed and we ended up hardcoding that in our code.

cabanier avatar Jan 04 '22 03:01 cabanier

For reference, this is the issue.

cabanier avatar Jan 04 '22 19:01 cabanier

Thanks for linking! Just to confirm that I get this right – the Oculus Browser on Quest applies custom offsets so that the controller models actually line up with the controllers? And the "better" fix would be that the offsets are fixed in this repo, and then the offset in Oculus Browser has to be removed?

hybridherbst avatar Jan 04 '22 20:01 hybridherbst