Skip to content

WebXR: missing XRFrameOfReferenceType #351

Open
@avaer

Description

@avaer

Currently the code assumes the frame of reference is stage. For OpenVR that basically equates to not doing any stage transforms for methods like XRPResentationFrame.getDevicePose.

If the site requests eye-level or head-model, however, treating the frame of reference as stage (the default) can cause weird parallax issues in the resultant math (i.e. the pose position being doubled).

Implementing XRFrameOfReferenceType awareness should fix these issues for sites using non-stage frames of reference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdomenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions