收藏
回答

XR-FRAME 如何在"modes:Body"模式下获取相对于相机的点位XY轴坐标?

const tracker = trackerEl.getComponent(xrSystem.ARTracker);

const position1 = tracker.getPosition(0, new xrSystem.Vector3(), true);

console.log(position1.toArray())

我这样获取的数据在实际拍摄人体的时候,人体从屏幕左边移动到右边,position数据变化并不大。

还是有其他方式。求大佬~~~~~~

回答关注问题邀请回答
收藏

1 个回答

  • Rrrrrrrr.©
    Rrrrrrrr.©
    2023-03-20

    有偿,,+V lbrhehehe_hahaha

    2023-03-20
    有用
    回复
登录 后发表内容