Forum Discussion

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

Mag Auto Calibrate checkbox missing

I can't seem to locate the Mag Auto Calibrate checkbox after the latest update (2.3)

Instead I get a section for adding a crosshair image

Screen Shot 2013-07-25 at 3.16.43 PM.png

1 Reply

Replies have been turned off for this discussion
  • drash's avatar
    drash
    Heroic Explorer
    In 0.2.3, the Oculus Unity integration is doing the mag calibration thing differently. Prior to 0.2.3, that checkbox simply toggled whether or not the OVRMagCalibration.cs' UpdateMagYawDriftCorrection() method would do automatic or manual calibration.

    Now in 0.2.3, which type of calibration done is decided by the user when starting calibration. You'll see this in UpdateMagYawDriftCorrection() in 0.2.3:

    		// Auto
    if(Input.GetKeyDown (KeyCode.X) == true)
    {
    MagAutoCalibrate = true;
    calibrateInput = true;
    }

    // Manual
    if(Input.GetKeyDown (KeyCode.Z) == true)
    {
    MagAutoCalibrate = false;
    calibrateInput = true;
    }
    .
    .
    .


    The rest of that UpdateMagYawDriftCorrection() method has also been changed.