Hi,
I found a crash in Kraft when I have mesh collider and I remove TKraftShape from 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-existent TKraftShape and tries get ShapeA.ProxyFatWorldAABB^ (if not AABBIntersect(ShapeA.ProxyFatWorldAABB^,ShapeB.ProxyFatWorldAABB^) then begin)
Hi, I found a crash in Kraft when I have mesh collider and I remove
TKraftShape
from 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-existentTKraftShape
and tries getShapeA.ProxyFatWorldAABB^
(if not AABBIntersect(ShapeA.ProxyFatWorldAABB^,ShapeB.ProxyFatWorldAABB^) then begin
)