public void PickedUp(PlayerController pc) { if (drinkComponent != null) { drinkComponent.ClearSpawn(); } pickedUpByPlayer = pc; pickupTarget = pc.handTransform; rb.angularDrag = 1f; //rb.useGravity = false; Collider[] cols = GetComponents <Collider>(); foreach (Collider c in cols) { Physics.IgnoreCollision(c, pc.GetComponent <Collider>()); } }