Hello,
I'm currently facing a problem. I've created a few boxes (of the exact same size, width, height, depth) with btGImpactMeshShape triangles (convex triangles). Problem is, when they're dropped vertically together, they penetrates each other.
The video I uploaded shows my problem.
http://www.youtube.com/watch?v=C5u8AGNU9VE
Did anyone face this before? Can someone help me regarding this?
Thanks a lot in advance.
btGImpactShape penetrates each other?
-
- Posts: 109
- Joined: Thu Dec 14, 2006 4:27 pm
- Location: Colombia
Re: btGImpactShape penetrates each other?
Hi.
The bad thing about GImpact collision meshes is that they are hollow in their interior. The triangles are just an thin surface like a paper, so this surface could be penetrated easily.
It's necessary to increase the mesh thickness by setting the collision margin of the GimpactShape with the method setMargin(0.3f)
Currently Gimpact Shapes don't support Continuous Collision Detection, so fast objects could pass through.
The bad thing about GImpact collision meshes is that they are hollow in their interior. The triangles are just an thin surface like a paper, so this surface could be penetrated easily.
It's necessary to increase the mesh thickness by setting the collision margin of the GimpactShape with the method setMargin(0.3f)
Currently Gimpact Shapes don't support Continuous Collision Detection, so fast objects could pass through.
-
- Posts: 26
- Joined: Mon Feb 09, 2009 10:07 am
Re: btGImpactShape penetrates each other?
Thanks, I think I've done something wrong in my current case.
For future reference:
Do not put btGImpactMeshShape into btCompoundShape, it causes the above case.
I've got another issue after fixing this, which I'll open another thread.
Thanks for the fast reply.
For future reference:
Do not put btGImpactMeshShape into btCompoundShape, it causes the above case.
I've got another issue after fixing this, which I'll open another thread.
Thanks for the fast reply.