I am new to unity and have a dilemma for my school project, I am trying to recreate the game SLOPE on Y8.com but i do not know how to make the "Player" die on collision with a obstacle?

Thank you for all answers and i cant find the answer on the forums

Use OnCollisionEnter ()

https://unity3d.com/learn/tutorials/modules/beginner/physics/colliders