function OnCollisionEnter(MyCollision : Collision){
if(MyCollision.gameObject.name == “Floor”){
if(!MyCollision.gameObject.rigidbody){
MyCollision.gameObject.AddComponent(Rigidbody);
}
}
}
I keep Getting the error “Compute mesh inertia failed for one of the actor’s mesh shapes”
I have never came accros this error so i have no idea what the reason is.
It keeps leading to this Code which i see nothing wrong.
Thanks in advance.
~Wentzel