mike
Joined: 28 Dec 2008 Posts: 34
|
Posted: Sat Jan 03, 2009 9:47 pm Post subject: Collision Problem |
|
|
Im using the tango version now. In my space i have two objects. A rigidbody and a staticshape. When my rigidbody hits the staticshape and when it starts to rotate i get a object.exception: access violation error.
I found the error to be in the space class specifically in scrubArbiter
bool scrubArbiter(Arbiter arbiter)
{
if ((stamp - arbiter.stamp) > contactPersistence)
{
// Delete the reference in the Dictionary
contactDict.remove(arbiter.hash);
return true;
}
return false;
}
Im not sure why you would use remove for contactDict so i just commented that out and that seems to work for now.
I'll update this if i can figure out anything more. |
|