Collisions don't seem to work.

I have seen plenty of questions about this but none of them seem to point to an answer for me;

void OnCollisionEnter(Collision collision)
    {
        if (collision.gameObject.name == "Player")
            Destroy(collision.gameObject);
        
    }

is attached to a cube that has a non Kinematic rigidbody, yet when the Player (named Player in the hierachy) makes contact with it, nothing happens. I’ve tried binding the script to several other objects (for example, binding it “backwards” to the cube so when “Bullet” which is a prefab, hits it the Cube disappears)
Thanks in advanced for any help
~Acro

As an extra note; I have tried assigning the prior code to the cube when it hits the ground and the ground did actually disappear. but the things I want to disappear don’t when aimed at them

make sure at least one of them has a rigidbody, and that both of them have colliders, and that neither of the colliders are set to be trigger colliders.

also make sure you aren’t using transform.translate since that kind of movement actually teleports and doesn’t register against physics.

After a few restarts it ended up working, probably hadn’t been initiated properly. but Thanks!