I always get a collision (from PersistentManifold::GetNumContacts() ), but sometimes the ball just falls straight through the trimesh. When it does, the impact speed is less than the predicted speed, but still of a reasonable value. When the ball does not fall through, the velocity is very small.
These are the sort of figures I get (gravity = -40):
Code: Select all
Height Impact speed |GetLinearVeolcity()| Falls through?
16 36 36 YES
20 40 7.28 NO
158 112 93 YES
268 146 6.26 NO
368 172 130 YES
618 222 149 YES
(this is about the maximum speed I can get collisions at, which I guess works out at about 5m of travel per timestep)
So I would really like to know if this is a known issue with Bullet, and if there is a way to stop this problem hapenning. Any help would be appreciated!