aframe-teleport-controls icon indicating copy to clipboard operation
aframe-teleport-controls copied to clipboard

Wrong position with AFrame 1.0.4 and Oculus Quest

Open rotoglup opened this issue 5 years ago • 3 comments

I've found out that, when walking around using an Oculus Quest, the teleport location is off when the user walks far from the starting physical location (in track space).

When trying the original TakashiYoshinaga's Quest Demo it works fine, using AFrame v0.9.2.

I remixed the same example to use AFrame v1.0.4, and it exhibits the problem :

  • enter VR mode
  • walk one or two meters
  • teleport, to see the location being off

Being new to AFrame, I may be wrong, but it seems that AFrame 1.0.4 always return [0,0,0] when querying the teleportOrigin position using getWorldPosition :

https://github.com/fernandojsg/aframe-teleport-controls/blob/d5ed39291c0bb99183fdd71a5071dafbb4cd259c/index.js#L313

rotoglup avatar Feb 24 '20 17:02 rotoglup

I'm seeing this too; did you ever find a solution, @rotoglup ?

randytayler avatar Jun 29 '20 20:06 randytayler

@randytayler alas no, I did not have the time to fix this, I sticked to AFrame v0.9.2 where this component worked...

rotoglup avatar Jun 30 '20 08:06 rotoglup

can confirm this on the vive, too

AliKarpuzoglu avatar Dec 08 '20 12:12 AliKarpuzoglu