FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Collision Problem

 
Post new topic   Reply to topic     Forum Index -> Blaze
View previous topic :: View next topic  
Author Message
mike



Joined: 28 Dec 2008
Posts: 34

PostPosted: Sat Jan 03, 2009 9:47 pm    Post subject: Collision Problem Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Blaze All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group