MADEAPPS / newton-dynamics

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

Fix assertion when adding joints #317

Closed lperkin1 closed 1 year ago

lperkin1 commented 1 year ago

When a joint is added between two bodies where a previous joint has been removed but not cleaned up, I get an assert fails. Based on our previous conversation around joint lists, I've tried to fix this one by checking if the current joint is still active.

JulioJerez commented 1 year ago

I merged. did it work? thanks.