Motor Physics: sequential impulses

move mouse inside stage, press ‘F’ for more fun

I have now implemented Erin Catto’s Sequential Impulses solver which he presented in his Box2D mini demo. It’s equivalent to the PGS (Projected Gauss Seidel) algorithm when using SI with clamped accumulated impulses. You find more information in his paper.

The flash runs currently very slow because it’s not optimized at all, but so far I’m happy that it works. I really love SI as it overcomes the jitter of objects which also made stacking nearly impossible in the previous version. But I keep my old solver because it’s very fast and great for non-gravity environments or particle-sized objects where jitter was not an issue.

The last (and probably hardest) step is to rewrite all my collision functions to add contact caching capability, which is quite complicated. The Box2D engine only supports (guess what.. boxes) and the collision and contact generation code is far to slow to be enjoyable in flash, so it’s crucial to find a fast solution for this. Once this is done I can concentrate on the API.

FlashDevelop 3.0.0 Alpha released

Mika from flashdevelop.org: “Here’s a release that lots of people have been waiting for, FlashDevelop 3. This is an alpha release that may contain bugs or may lack some features but we wanted to start the release cycle for our new baby. We hope you like it.”

Hell yes, I love it! I also tried Flex Builder, but I prefer using FlashDevelop because it’s free, fast and has everything I need for Flash development. The only thing I’m missing is a built-in debugger, but as I understood the guys are also working on it.

More information: http://www.flashdevelop.org/community/viewtopic.php?t=1436