Exemplo n.º 1
0
 /// <summary>
 /// Calibrate the Wrist, based on the orientation of the foreArm.
 /// </summary>
 /// <returns></returns>
 public bool CalibrateWrist()
 {
     if (glove != null && glove.IsConnected() && foreArm != null)
     {
         glove.CalibrateWrist(null, SenseGlove_Util.ToQuaternion(this.foreArm.transform.rotation));
         SenseGlove_Debugger.Log("Calibrated Wrist");
         return(true);
     }
     return(false);
 }