Closed darktemplar216 closed 8 months ago
Thanks a lot for reporting this. I will take a look at this as soon as I have some time.
Thanks, dude, nobody knows this lib better than you. Thumbs up
This issue is already fixed by some refactoring I did in the 'develop' branch. This will be part of the next release of the library. Again, thanks a lot for reporting the issue and for the fix also.
This is now fixed in version v0.10.0 of the library. Thanks a lot for reporting the issue.
in void PhysicsWorld::createIslands()
When using Trigger and RigidBody together, sometimes mRigidBodyComponents.mContactPairs contain dirty indices from the old frames and indexing mCollisionDetection.mCurrentContactPairs crashes the program by hitting the Assertion inside Array.
Seems that only cleaning the Enabled RigidBodyComponents leaves the dirty data behind
I change this loop to all rigidbodyComponents
seems everything's fine and prevented the crash.
Does it makes any sense to you? Daniel.