【问题标题】:WebXR: how to migrate from Oculus Go to Quest?WebXR:如何从 Oculus Go 迁移到 Quest?
【发布时间】:2020-10-20 10:26:43
【问题描述】:

我在https://www.ibiblio.org/e-notes/webxr/mini.htm 的 WebXR 分子查看器(纯 JavaScript + WebGL + WebXR)中使用 Oculus Go 控件(触摸板 + 触发器)。要从 Go 迁移到 Quest,我想知道,Quest 上的“selectend 事件”和“xrSession.inputSources[0].gamepad.axes[0/1]”对应于什么?

【问题讨论】:

    标签: migration oculusgo oculusquest webxr


    【解决方案1】:

    在 Quest 拇指杆上显示为

    xrSession.inputSources[0/1].gamepad.axes[touchpad X, touchpad Y, thumbstick X, thumbstick Y]
    

    其中 0/1 对应于右手/左手。因此应该使用axes[2,3](而不是在Go 中使用axes[0,1])来获取X、Y 坐标。

    参见例如https://www.ibiblio.org/e-notes/webxr/mini/micro3q.htm.

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-09-03
      • 2021-05-19
      • 1970-01-01
      • 1970-01-01
      • 2021-08-18
      • 1970-01-01
      • 1970-01-01
      • 2019-04-02
      相关资源
      最近更新 更多