Why is stacking unstable?
Posted: Thu May 18, 2006 9:33 pm
Hi all!
I've been making a physics-engine for many months, and now I'm at the stage when I'm converting everything to PGS.
I used Lemke LCP solver, and I managed to create quite a good implementation, that is almost as fast as PGS (including Mixed LCP -> Common LCP transform) when several objects are in the simulation. Unfortunately, Lemke's speed decreases dramatically with the increase of the system's dimention (I guess O(4)). So, my only choice was to convert to PGS.
But with PGS I've first seen such an effect as unstable stacking. 3 objects placed on top of each other show some tangental velocity and the stack collapses. When I used Lemke, nothing of the kind was observed. Stacks of any size used to be absolutely stable.
My question might sound naive: what's the nature of this behavior? Why does the tangental velocity appear? And, of course, waht to do?
I've been making a physics-engine for many months, and now I'm at the stage when I'm converting everything to PGS.
I used Lemke LCP solver, and I managed to create quite a good implementation, that is almost as fast as PGS (including Mixed LCP -> Common LCP transform) when several objects are in the simulation. Unfortunately, Lemke's speed decreases dramatically with the increase of the system's dimention (I guess O(4)). So, my only choice was to convert to PGS.
But with PGS I've first seen such an effect as unstable stacking. 3 objects placed on top of each other show some tangental velocity and the stack collapses. When I used Lemke, nothing of the kind was observed. Stacks of any size used to be absolutely stable.
My question might sound naive: what's the nature of this behavior? Why does the tangental velocity appear? And, of course, waht to do?