Box2D is a free open source 2-dimensional physics simulator engine written in C++ by Erin Catto and published under the zlib license. I've been learning about it from using the Cocos2d game engine in Xcode.

I thought it might be fun to try and port the code to REALbasic. Frankly, I'm not sure if this exists or not but that's OK with me ... Code and projects are not ready to be released, but thought I might show what I have up to this point. I took a step back and decided to try and port the lite version first. Even though this framework is primarily used in a game environment, it has been adapted to many other uses. Do a Google search for more info ...

This is my blog entry. It gives a brief description and shows a brief movie of the project running.

Ever start a project and no matter how hard you try, you just can't get it to "work" properly? I know I have, and I can add this one to the pile. I really think it's pretty close, but I'll be darned if I can get it to click, so here it is. If you take some time and read up on Box2D lite, read the papers the original author has posted on his web site, http://box2d.org and grab the source code, you should be able to get up to speed on this physics engine. The download has the 4 demo's available to see. It would be a great resource to have for the Real Studio community I think. But as I said, I'm burned out on it for now. Cheers