Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
VivekD's avatar
VivekD
Honored Guest
11 years ago

OVRManager - Use Positional Tracking issue 0.4.3.1 beta

I think the Use Positional Tracking flag in the OVRmanager script doesn't work anymore. Tried it in a fresh project and it will ALWAYS use positional tracking data even if the flag is set to false.

Anyone else having this problem? Any workarounds?

Thanks.

6 Replies

Replies have been turned off for this discussion
  • VivekD's avatar
    VivekD
    Honored Guest
    I found a way to disable positional tracking by commenting out the following code from OVRCameraRig.


    leftEyeAnchor.localPosition = leftEye.position;
    centerEyeAnchor.localPosition = 0.5f * (leftEye.position + rightEye.position);
    rightEyeAnchor.localPosition = rightEye.position;


    Posting it here incase anyone else has the same problem. I hope this gets fixed in the stable version.
  • OVRManager.usePositionTracking enables or disables the IR tracking camera. If you uncheck it, you will notice the blue light on the camera turns off. But it does not disable the head model, so rotating your head will still cause small position changes. Is that causing a problem? We'll add an option to disable it in a future release.
  • "vrdaveb" wrote:
    OVRManager.usePositionTracking enables or disables the IR tracking camera. If you uncheck it, you will notice the blue light on the camera turns off. But it does not disable the head model, so rotating your head will still cause small position changes. Is that causing a problem? We'll add an option to disable it in a future release.


    Same here, positional tracking value off doesnt work, it is allways tracking the position relative to the camera (not talking about neck model.)
  • I also this problem has occurred.
    I was dealt with insert follow code at end of Start() in OVRManager.


    tracker.isEnabled = usePositionTracking;


    OVRManager.cs:462 has problem?


    ---OVRManager.cs:243
    public bool usePositionTracking = true; <-- it can change to false from inspector.

    ---OVRManager.cs:280
    private static bool usingPositionTracking = false;

    ---OVRManager.cs:460
    private void Update()
    {
    if (usePositionTracking != usingPositionTracking) <-- when each value is false, tracker.isEnabled value is not changed even tracker is enabled.
    {
    tracker.isEnabled = usePositionTracking;
    usingPositionTracking = usePositionTracking;
    }