Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
BigDaddio's avatar
BigDaddio
Protege
6 years ago

Issue with Use Positional Tracking


If I check off Use Positional Tracking in the OVR manager this is what happens. All I want is to mount my camera on a movable object and not allow the camera to move off the object if the player moves around. What am I doing wrong? 

Unity v2019.1.1f1, Oculus Utilities v1.36.0, OVRPlugin v1.36.0, SDK v1.37.0.

1 Reply

Replies have been turned off for this discussion
  • Disabling positional tracking has been a thorn in my side when trying to simulate the Oculus Go for this exact reason. Disabling this option results in a severely warped image in the headset and this is the only post I've found that shares the same issue.

    To the OP, here's what I used to not allow the camera to move in the meantime:

    In the OVRCameraRig script, on the line right before RaiseUpdatedAnchorsEvent(), paste the following:
    trackingSpace.localPosition = -1 * centerEyeAnchor.localPosition;

    That will lock tracking down to just rotational tracking, not positional tracking. The workaround is sourced from here: https://forums.oculusvr.com/developer/discussion/comment/629460/#Comment_629460