Search Unity

"Tracked Pose Driver" / Orig. Position / Re-Center

Discussion in 'AR/VR (XR) Discussion' started by ldouglas, Apr 21, 2020.

  1. ldouglas


    May 6, 2016
    Hi folks,

    I'm currently trying to update my "DYI-FPS-Controller"-scripts but can't seem to figure out how to leverage the new functions / VR-features...

    So I've tried to add the "Tracked Pose Driver"-component to my head / camera-object for HMD-movement-tracking-purposes. While this does work (HMD-tracking), the Camera-Object would be re-positioned on start / launch while I'm trying to "attach" it to the Character-Capsule's "start"-position.

    It did work for a couple times (like, out of the blue) but would start to act-up after a couple runs...

    The only "solution" to this problem seems to be a manual "re-center"-call.
    I'm currently using:

    As I understand, this method is obsolete and shouldn't be used going forward...
    So I guess this would be my 2nd question: What's the "easiest" / best way to trigger a HMD-re-center / orientation-call?

    Thanks a ton in advance & best regards