Skip to main content
Up and Coming
July 25, 2013

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
    This topic has been closed for replies.

    1 reply

    Inspiring
    July 25, 2013
    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.
    Titans of Space PLUS for Quest is now available on DrashVR.com