Ejemplo n.º 1
0
 // Update is called once per frame
 void Update()
 {
     leapMat      = UnityMatrixExtension.GetLeapMatrix(this.transform);
     CurrentFrame = leap_controller_.GetTransformedFrame(leapMat, 0);
     //perFrameFixedUpdateOffset_ contains the maximum offset of this Update cycle
     smoothedFixedUpdateOffset_.Update(PerFrameFixedUpdateOffset, Time.deltaTime);
     //float now = leap_controller_.Now();
     //Debug.Log("leap_controller_.Now():" + leap_controller_.Now() + " - CurrentFrame.Timestamp:" + CurrentFrame.Timestamp + " = " + (leap_controller_.Now() - CurrentFrame.Timestamp));
     //Debug.Log("provider.Update().CurrentFrame.Id: " + CurrentFrame.Id);
 }