void Awake() { t = transform; attachJoint = GetComponent <FixedJoint>(); anim = GetComponent <Animator>(); inputManager = GetComponent <WebXRInputManager>(); }