Why doesn't work OnEnterCollision?

I Have a model 3d in the scene, and I put a BoxCollider, and a script for detect collision but doesn’t work, when I try to put a Debug, nothings happend!!! why !!!??

Thanks for your help

this is the script for now

void OnCollisionEnter(Collision collision) {


Make sure that you’re using the right method for its purpose, in other words check the Collision action matrix on the bottom of the page.

Make sure your collider is NOT marked as a trigger.
Also try changing your code to show the name of the object being collided with…



I forgot to put the rigidbody. Thanks