public void BeginInteraction(vivecontroller wand)
 {
     // the goal game object become child of wand game object
     attachedWand   = wand;
     previousParent = this.transform.parent;
     transform.SetParent(wand.transform, true);
     currentlyInteracting = true;
 }
 public void EndInteraction(vivecontroller wand)
 {
     if (wand == attachedWand)
     {
         // detach goal game object to wand game object
         attachedWand          = null;
         currentlyInteracting  = false;
         this.transform.parent = previousParent;
     }
 }