[ODE] memory trashing bug in dcTriListCollider.cpp?

David McClurg dmcclurg at pandemicstudios.com.au
Sun Jun 16 23:15:01 2002


In dcTriListCollider::CollideBox(), I'm getting a memory overwrite around Line 158.  I think the OutContact reference is past the end of the Contacts list.  My Box is a "big" box if that matters at all.  I think there is a missing test somewhere.  Could someone who understand this code better shed any light on this?

if (Index == OutTriCount){
  dContactGeom& OutContact = *CONTACT(Contacts, OutTriCount * Stride);