When I drive over the trigger, I get no response in the console. On the Package I have Rigidbody2D, Collision Script, Collider 2D and it is marked as trigger. On the car I have a Collider 2D, Rigidbody 2D adn my movement script. I am very new to coding so my baby eyes cant tell whats wrong :(
void OnCollisionEnter2D(Collision2D other)
{
Debug.Log("Oof!");
}
void OnTriggerEnter2D(Collider2D other)
{
if (other.gameObject.CompareTag("Package"))
{
Debug.Log("Package picked up");
}
}