aframe-teleport-controls
aframe-teleport-controls copied to clipboard
Wrong position with AFrame 1.0.4 and Oculus Quest
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
I'm seeing this too; did you ever find a solution, @rotoglup ?
@randytayler alas no, I did not have the time to fix this, I sticked to AFrame v0.9.2 where this component worked...
can confirm this on the vive, too