MADEAPPS / newton-dynamics

Newton Dynamics is an integrated solution for real time simulation of physics environments.
http://www.newtondynamics.com
Other
945 stars 182 forks source link

Crash in dgWorld #132

Closed TrevorCash closed 5 years ago

TrevorCash commented 6 years ago

Hi Julio - I'm not sure how it happened but I got a crash in dgWorld. Does not happen very often for me.

image

hhyyrylainen commented 6 years ago

I also get this issue after a few minutes.

JulioJerez commented 6 years ago

yes I am aware of the bug, and yes is not a threatening issue, I do not think.

It seem a joint is been created or destroyed and the code is triggered, and it seem the latest optimization broke it. I wouldn't no bother to fix it, I never like it anyway, I will re write it to be more efficient and more rubust.

On Sat, Oct 27, 2018 at 12:18 PM Henri Hyyryläinen notifications@github.com wrote:

I also get this issue after a few minutes.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MADEAPPS/newton-dynamics/issues/132#issuecomment-433647889, or mute the thread https://github.com/notifications/unsubscribe-auth/AHxHpBGdICaJRiPpZVMRj2KABzX_znjuks5upLGWgaJpZM4X0BD- .

hhyyrylainen commented 6 years ago

This is a major issue in a game that I'm working on along with other people (https://github.com/Revolutionary-Games/Thrive) as it is not possible to play the game more than a few minutes without crashing. Due to that and other physics issues (physics bodies randomly jumping really high) we are considering switching to another physics engine, as this issue will block us from releasing the next version.

JulioJerez commented 6 years ago

I am sorry, this is causing you so many problems, feel free to switch engine if you are unsatisfied. I will not work under pressure of threads of an user using a different library. I get nothing from this.

Untrustedlife commented 6 years ago

Thrive is an open source game, we are getting nothing from it either. Thanks for the response though. They werent trying to pressure you, just tell you that for us it was alot more major.

JulioJerez commented 6 years ago

I said I was going to fix it, but if you guys can't wait, then I can't hold you to my time schedule. I have to allocate the time I have between fixing bug and adding new feature. so If time is what is hold ling you, the good thing is that physics libraries are a dime a dozen. you can change to one the fix more you requirements or that have more costumer support.

Plus he said that the was no the only problem with the the engine, he mention Object doing some stuff, therefore the switch seem to be inevitable.

JulioJerez commented 5 years ago

Ok guys I believe this is now fixed.
please sync and try again.

hhyyrylainen commented 5 years ago

After a little bit of testing I think this has fixed the physics crashing and glitching I was experiencing.

TrevorCash commented 5 years ago

Awesome!