I am using this code:
private void OnControllerColliderHit(ControllerColliderHit hit)
{
if (hit.controller.tag == "PlayerHuman")
{
Debug.Log("pickup");
GetComponent<Pickup>().PickupItem();
}
}
my pickup objects have box colliders and rigidbodies, they are neither kinematic nor their trigger is on. They have gravity.
Nothing happens when my character walks over them