public void EndInteraction(FlyStickSim wand) { if (wand == attachedWandSim) //not needed for us { attachedWandSim = null; currentlyInteracting = false; } }
public void BeginInteraction(FlyStickSim wand) { attachedWandSim = wand; interactionPoint.position = wand.transform.position; interactionPoint.rotation = wand.transform.rotation; interactionPoint.SetParent(transform, true); currentlyInteracting = true; }