JigLibJS2 is an automated port of the JigLibFlash 3D physics Engine. A similar port had already been made by JigLibJS. But I couldn't get the vehicle physics to work with it, which was what I wanted to achieve. So I decided to create a PHP script that automatically ports AS3 code to Javascript. JigLibJS2 is the result of that script (fresh port of JigLibFlash fp11). The code is available at github. I've just worked with the collision and car physics and have not (yet) tested if all the other physics elements work as well.
These demo's use the three.js 3D rendering engine. Use arrow keys to drive, spacebar to brake and click to shoot things up in the air:
3D Vehicle Physics demo (canvas renderer) (Should work with Firefox 4, Chrome 10, Safari 5 and IE 9)
3D Vehicle Physics demo (WebGL renderer) (Should work with Firefox 4, Chrome 10 and Safari 5)
JigLibJS2: JigLibJS2 at github
JigLibFlash: AS3 3D physics Engine
JigLib: Original physics Engine
JigLibJS: The original Javascript port
three.js: Javascript 3D Engine
glmatrix: High performance matrix and vector operations for WebGL
bart at mediawave dot nl