Collision trouble.

I have the following code attached to an object with a box collider. When the objects hits a mesh Collider in the scene(the ground) the print message does not fire.

ANy ideas?

function OnCollisionEnter() {

    print("something is colliding");
    hitFloor=true;

}

I did a quick search for collider problems but the same answer kept com,ing up...which is basically do exactly what I've done...

When in doubt, read the docs. The docs for OnCollisionEnter clearly state

"Note that collision events are only sent if one of the colliders also has a non-kinematic rigidbody attached."

Does one of your objects (preferably your box because it makes more sense) have a rigidbody attached? Is this rigidbody set to be kinematic?