OnCollisionEnter doesn't work C#

void OnCollisionEnter(Collision collision)
if(collision.gameObject.tag == “Structures”)
Debug.Log(“Collide !”);

and nothing… log clear ;/ i have attached to cube Box Collider and RigidBody (with kinematic).

The documentation here says that “collision events are only sent if one of the colliders also has a non-kinematic rigidbody attached”. Maybe this is your problem.

Another solution is that your other object is not tagged as “Structures”.

My bad, i set Layer not Tag, I use now triggers, but with this my player can walk through the cube, coz its trigger, maybe for detect collide is other way ?

i freeze x,y,z rotation also and uncheck kinematic, now everything works perfect with oncollisionenter, thanks KiraSensei :* !