Search Unity

Question OpenXR changing tracking origin has no effect in SteamVR

Discussion in 'VR' started by SeanTurboButton, Jan 24, 2024.

  1. SeanTurboButton


    May 10, 2022
    In our game we have standing and seated mode options for the player. When we switch modes, we call TrySetTrackingOriginMode(), and use TrackingOriginModeFlags.Floor for standing mode and TrackingOriginModeFlags.Device for seated mode, because in seated mode we want to control the player's height.

    In the existing implementation before OpenXR, calling the function to set the tracking origin to device mode would correctly reset the tracking origin to be centered around the device, changing the player's position. Now after implementing OpenXR and when playing in the SteamVR runtime, TrySetTrackingOriginMode is successful and returns true, but the player's height is unaffected and it seems like nothing is happening at all when we set the mode from floor to device, or vice versa. Has anyone had experience with this?