I wanted to test my latest model as a physics entity in the example-file "earthball" in replacement for "earth.mdl". Everytime when my model hits the ground the engine crashes without any message for the reason. When I use the earth.mdl model it runs without problems. How can models (every model of mine!) bring problems to the ground collision detection/reaction??
A possible reason is a damaged model file. That's almost the only case that I know where the engine can really crash.
You could load and save the model in MED for fixing it; if that does not help, please contact the support. You might send in your level so that we can reproduce the crash.
I will try that load/save-thingy in MED, although I guess that it wont't help in my situation because I created the "affected" model with MED. But, anyway, I'l give it a try.
As I guessed - the MED solution didn't work. Firstly I thought it would work because it didn't crash just at the first contact with the ground but it DID crash again when the model (physics-entity) came to a stable and still stand on its bottom. Strange! I can mail (or whatever) you the modelfile - as I'm just a user of the Sybex Edition (as listed in my profile) I believe I'm not allowed to contact the support. So, what shall I do?
If you have the Sybex edition, please make sure that you have updated it to the latest version, 7.10. Apart from that it does not matter - you can always contact the support when you have a serious problem, such as a crash.
If you have nothing changed except for the model, please send them the model; otherwise send the whole project.
Thanks for sending the model. That was indeed a bug, an internal buffer overflow due to the size of the model and the number of contact points with the ground.
I tried the workaround I was told (downscaling the model) and scaled the model that's used as an physics entity to 40% of its original size and yes it worked. The model was bouncing and becoming stable without a crash. Then I "kicked" the model with the space-key (just as it's ment to be in the earthball-example) and the engine crashed again. I also got a second crash which is easily reconstructable: just change the config of the model from PH_BOX to PH_POLY and you'll see that the model gets immediately stuck in the ground after falling causing a engine crash just again.
Maybe you could take another look at? It's even possible that it's just the same bug in other clothes.
It's still the same bug when you only scaled it to 40%. That's too big for the terrain, better scale it down to less than 10%. PH_POLY is not for moving objects, it's for obstacles only.