what setting and config can cause 'gaps' between rigidbody?

Post Reply
khoowaikeong
Posts: 43
Joined: Fri Jun 15, 2012 7:11 am

what setting and config can cause 'gaps' between rigidbody?

Post by khoowaikeong »

the dynamic result i am getting has gaps between 2 collided object. this result in false negative in the next cycle. this behaviour seem different between PC and PS3, so i suspect there is some default configuration differences. so far i setup my bodies using the following code:

pRigidBody->setContactProcessingThreshold(0);
pRigidBody->setRestitution(0);

what other setting might be causing my troubles?
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA
Contact:

Re: what setting and config can cause 'gaps' between rigidbo

Post by Erwin Coumans »

The handling of the collision margin (collisionShape->setMargin) could be different. The collision detection implementation on one of the platforms might ignore/deal different with margins. Just don't set the margin to zero, it can lead to problems and we cannot support issues in that case.

Thanks,
Erwin
khoowaikeong
Posts: 43
Joined: Fri Jun 15, 2012 7:11 am

Re: what setting and config can cause 'gaps' between rigidbo

Post by khoowaikeong »

oh i see... thanks, this is very helpful info!
Post Reply