Exemple #1
0
    IEnumerator Calibrate()
    {
        SteamVR_ChaperoneUtil.Reset();

        yield return(null);

        SteamVR_ChaperoneUtil.SetWorkingStandingZeroPoseFrom(_target.position, _target.rotation);
    }
Exemple #2
0
        IEnumerator CalibrateImpl()
        {
            SteamVR_ChaperoneUtil.Reset();

            //FIXME 固定時間ではなく、シャペロンの再読込が終わるまで待つ必要がある
            yield return(new WaitForSecondsRealtime(0.5f));

            SteamVR_ChaperoneUtil.SetWorkingStandingZeroPoseFrom(m_deviceIndex);
        }