Improving stacking stability

Post Reply
User avatar
Dragonlord
Posts: 198
Joined: Mon Sep 04, 2006 5:31 pm
Location: Switzerland
Contact:

Improving stacking stability

Post by Dragonlord »

I'm trying to improve the physics simulation of bullet. I have a simple test case:
Image

Furthermore I have 5 cans on the ground stacked on top of each other in a straight pillar each exactly in the middle of the one below.

I tried different parameters but the stack (at best) stays put for a couple of second then falls apart.

What did you do to improve stacking behavior?
User avatar
Dragonlord
Posts: 198
Joined: Mon Sep 04, 2006 5:31 pm
Location: Switzerland
Contact:

Re: Improving stacking stability

Post by Dragonlord »

I checked with debug drawing and the 5-can stack sometimes deactivates while the 10-can pyramid does not deactivate. After some time the active stack tends to fall apart.

So if I could increase the deactivation conditions I could improve these cases. Personally I think for a game it is better to have stable physics than keeping objects as long active as possible. But I can't figure out what options I have to improve the deactivation behavior.
Post Reply