I’m sorry for the really simplistic question but I’ve been beating my head against this for awhile and searched through numerous solutions. This is a standard 2D platformer.
void OnCollisionEnter (Collision col) {
Debug.Log("Hello");
}
This is part of the script attached to the player object which has a rigidbody2D, both the player and scenery being collided with have box colliders. Does this just not work in 2D or am I missing something totally obvious?
As per author’s comments use OnCollisionEnter2D.