public FingertipInfo(InteractionHand hand, Fingertip thumb, Fingertip index, Fingertip middle)
 {
     this.hand = hand;
     // this.pinch = pinch;
     this.thumb  = thumb;
     this.index  = index;
     this.middle = middle;
 }
Beispiel #2
0
 public void Begin(Fingertip finger, Vector3 grabPoint)
 {
     if (grabs.Count > 1)        //Max two grab points for now
     {
         return;
     }
     if (grabs.Contains(finger))
     {
         return;
     }
     grabs.Add(finger);//, new GrabInfo(grabPoint, parent.transform.position);
     grabAvgAnchor = null;
 }