Boxes can fall through world in AppConcaveDemo

sranck
Posts: 2
Joined: Tue Jan 18, 2011 10:48 pm

Boxes can fall through world in AppConcaveDemo

Post by sranck »

Hello,

I'm evaluating Bullet Physics for use in a new game. I noticed that when I fire the boxes using the right mouse button in AppConcaveDemo, the boxes will sometimes pass through the floor. I then modified the demo so that the ground no longer ungulates and the problem still occurs.

Any ideas as to why this is happening and how it can be fixed?

Thanks,

Steve
apanloco
Posts: 7
Joined: Wed Dec 29, 2010 12:08 am

Re: Boxes can fall through world in AppConcaveDemo

Post by apanloco »

Try to either cap the max velocity of the rigid bodies in question or lower the fixed time step so that the physics engine works at higher granularity (box moves in smaller steps).
sranck
Posts: 2
Joined: Tue Jan 18, 2011 10:48 pm

Re: Boxes can fall through world in AppConcaveDemo

Post by sranck »

Thanks. But isn't CCD supposed to take care of this problem?

Steve