Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, 1 invisible), 18,787 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Engine crashes when physics-entity hits ground #219306
08/01/08 20:16
08/01/08 20:16
Joined: Apr 2008
Posts: 31
C
Chrisu Offline OP
Newbie
Chrisu  Offline OP
Newbie
C

Joined: Apr 2008
Posts: 31
Hi!

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??

Thx in advance.

Chrisu.

Re: Engine crashes when physics-entity hits ground [Re: Chrisu] #219752
08/04/08 12:16
08/04/08 12:16
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
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.

Re: Engine crashes when physics-entity hits ground [Re: jcl] #219773
08/04/08 14:32
08/04/08 14:32
Joined: Apr 2008
Posts: 31
C
Chrisu Offline OP
Newbie
Chrisu  Offline OP
Newbie
C

Joined: Apr 2008
Posts: 31
Thx for the reply!

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.

I'll "callback" later.

Chrisu

Re: Engine crashes when physics-entity hits ground [Re: Chrisu] #219819
08/04/08 20:17
08/04/08 20:17
Joined: Apr 2008
Posts: 31
C
Chrisu Offline OP
Newbie
Chrisu  Offline OP
Newbie
C

Joined: Apr 2008
Posts: 31
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?

Cheers,

Chrisu.

Re: Engine crashes when physics-entity hits ground [Re: Chrisu] #219876
08/05/08 11:18
08/05/08 11:18
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
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.

Re: Engine crashes when physics-entity hits ground [Re: jcl] #219907
08/05/08 14:15
08/05/08 14:15
Joined: Apr 2008
Posts: 31
C
Chrisu Offline OP
Newbie
Chrisu  Offline OP
Newbie
C

Joined: Apr 2008
Posts: 31
OK, thx!

I will contact the support and send the model.

Cheers,

Chrisu.

Re: Engine crashes when physics-entity hits ground [Re: Chrisu] #220398
08/07/08 07:55
08/07/08 07:55
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
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.

This will be fixed in the next update.

Re: Engine crashes when physics-entity hits ground [Re: jcl] #221275
08/13/08 08:23
08/13/08 08:23
Joined: Apr 2008
Posts: 31
C
Chrisu Offline OP
Newbie
Chrisu  Offline OP
Newbie
C

Joined: Apr 2008
Posts: 31
Good'n'bad news!

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.

Cheers,
Chrisu.

Re: Engine crashes when physics-entity hits ground [Re: Chrisu] #221276
08/13/08 08:28
08/13/08 08:28
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
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.

Re: Engine crashes when physics-entity hits ground [Re: jcl] #221281
08/13/08 10:11
08/13/08 10:11
Joined: Apr 2008
Posts: 31
C
Chrisu Offline OP
Newbie
Chrisu  Offline OP
Newbie
C

Joined: Apr 2008
Posts: 31
OK thx!

And good to know the specifics of PH_POLY

Cheers,
Chrisu.


Moderated by  jcl, Nems, Spirit, Tobias 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1