Fix crash in DoNarrowPhase() after removing TKraftShape that has mesh contact. #33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "meshcontacts_fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
I found a crash in Kraft when I have mesh collider and I remove
TKraftShapefrom other rigid body that collides with mesh collider. The fix removes MeshContactPair when we remove contact pair.Where is the crash exactly?
It crashes in
DoNarrowPhase()in the mesh contact pair loop when it get pointer to non-existentTKraftShapeand tries getShapeA.ProxyFatWorldAABB^(if not AABBIntersect(ShapeA.ProxyFatWorldAABB^,ShapeB.ProxyFatWorldAABB^) then begin)Applied at
github.com/BeRo1985/kraft@c0c81d093aPull request closed