public void AttachToPlayer(PlayerInteract activatingPlayer) { player = activatingPlayer; activatingPlayer.currentTool = this; attached = true; Sfx.PlaySfx(PickUpSfx); // rb.position = player.transform.GetChild(0).position; //rb.rotation = Quaternion.Euler(rb.rotation.x , player.transform.rotation.y, rb.rotation.x); // StartCoroutine(MakeJoint()); foreach (BoxCollider box in GetComponents <BoxCollider>()) { box.enabled = false; } activatingPlayer.HoldingTool(); }