Penetration with btConvexTriangleMeshShape

Post Reply
sara
Posts: 39
Joined: Thu Mar 24, 2011 3:50 pm

Penetration with btConvexTriangleMeshShape

Post by sara »

Hi,

I have a simulation where a bunny falls to the floor, which is defined by a very big box. The collision shape of the bunny is created with btConvexTriangleMeshShape. Still, sometimes the ears and head of the bunny penetrate the floor, even when the bunny is resting on the floor.

How can I avoid this, or make this less obvious?

Edit: By the way, this is my timestep:

Code: Select all

float ms = getDeltaTimeMicroseconds();  
m_dynamicsWorld->stepSimulation(ms / 1000000.f);
Post Reply