Physics Collisions Failing

drummerd_ca
Posts: 3
Joined: Thu Aug 20, 2009 9:08 pm

Physics Collisions Failing

Post by drummerd_ca »

Hi,

I am running into the following problem: I have a zero mass (static) btRigidBody representing a wall and a thin non-zero mass btRigidBody representing a small tile. When the tile moves quickly enough, it seems to penetrate the wall quite severely resulting in the object going right through the wall. Both objects are a bit thin, which may be contributing to this issue.

Can anybody recommend some methods of avoiding this undesired behaviour?
Thanks!
S.Lundmark
Posts: 50
Joined: Thu Jul 09, 2009 1:46 pm

Re: Physics Collisions Failing

Post by S.Lundmark »

I would suggest trying to do continuous convex collision for the tile, increasing the amount of steps / frame, or manually casting your shape through the world to see what it will collide with.

Check out demo "ContinuousConvexCollision", or "GjkConvexCastDemo". Those should hopefully help :)

Cheers
/Simon