Answer the question
In order to leave comments, you need to log in
Unity 2D. OnCollisionEnter. How to implement my chip?
Hello. I'm new to this area, but I want to make a game. The problem is this... In the game, when the player falls out of the map, I made the borders of the map. If the player collides with one of the borders, then all his HP should be removed, I wrote OnCollisionEnter() , set BoxCollider2D at the borders, IsTrigger was not enabled, but still ... Nothing works. The player has a Rigidbody and a BoxCollider. Tell me what to do?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question