void ViveGripTouchStart(ViveGrip_GripPoint gripPoint)
 {
     if (gripPoint.HoldingSomething())
     {
         return;
     }
     gripPoint.ToggleGrab();
     attachedGripPoint = gripPoint;
     gripPoint.enabled = false;
     attached          = false;
 }
 void ViveGripGrabStop(ViveGrip_GripPoint gripPoint)
 {
     if (!this.enabled)
     {
         return;
     }
     if (counter <= 0)
     {
         return;
     }
     gripPoint.ToggleGrab();
 }
    void Update()
    {
        if (attachedGripPoint == null)
        {
            return;
        }
        float speed = GetComponent <Rigidbody>().velocity.magnitude;

        attached = attached || speed < SPEED_THRESHOLD;
        if (attached && speed > SPEED_THRESHOLD)
        {
            attachedGripPoint.enabled = true;
            attachedGripPoint.ToggleGrab();
            attachedGripPoint = null;
        }
    }