Hi I am using OnCollisionEnter with a cube, but anytime the player(Which is just a capsule for now) touches the cube nothing happens. I am looking the cube to be destroyed whenever the player touches it.
Both the player and the cube have ridge bodies, both of them do not have is Kinematic checked.
Any help would be great
void OnCollisionStart (Collision col)
{
if (col.gameObject.name == "PlatformBroken")
{
Destroy(col.gameObject);
}