Crash on collision

Report any bugs here and we'll post fixes

Moderators: Sascha Willems, Thomas

Crash on collision

Postby JoshKlint » Mon Apr 15, 2019 8:57 pm

Press W to roll forward and hit a coin. The game will crash.
https://www.leadwerks.com/files/marblegame.zip

It's saying that mworld equals null here:
Code: Select all
dgContact::~dgContact()
{
   dgAssert(m_body0);
   if (m_body0->m_world->m_destroyContact) {
      m_body0->m_world->m_destroyContact(m_body0->m_world, this);
   }
JoshKlint
 
Posts: 163
Joined: Sun Dec 10, 2017 8:03 pm

Re: Crash on collision

Postby Julio Jerez » Tue Apr 16, 2019 9:41 am

fixed
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Crash on collision

Postby JoshKlint » Tue Apr 16, 2019 1:53 pm

Thank you so much, I got an update out:
https://www.leadwerks.com/community/blo ... 6-updated/
JoshKlint
 
Posts: 163
Joined: Sun Dec 10, 2017 8:03 pm

Re: Crash on collision

Postby Dave Gravel » Tue Apr 16, 2019 2:19 pm

Hi JoshKlint,
I have test the demo last night just for see what happen.

Maybe your demo is not finished, I just like to let's you know I have seen a other problem.
When the ball falls down, The game is reset and the ball can pass thru the floor or move when it is supposed to stay at the init position.

The demo look good.
You search a nice physics solution, if you can read this message you're at the good place :wink:
OrionX3D Projects & Demos:
https://orionx3d.sytes.net
https://www.facebook.com/dave.gravel1
https://www.youtube.com/user/EvadLevarg/videos
User avatar
Dave Gravel
 
Posts: 800
Joined: Sat Apr 01, 2006 9:31 pm
Location: Quebec in Canada.


Return to Bugs and Fixes

Who is online

Users browsing this forum: No registered users and 4 guests