[Solved][Unity] Use “trigger” to Trigger but Rigidbody Does Not Simulate Collision
Last Updated on 2021-10-28 by Clay
I recently use Unity to develop when a snake game, I want to delete the head game object when my snake head collides with another snake’s body, I need to use OnTriggerEnter2D()
to set the collision determination.