Box2D is an open-source rigid-body 2D physics simulation library for games, written in C++, with ports in various languages
Box2D is an open-source rigid-body 2D physics simulation library for games, written in C++.
It has been ported to various other platforms and engines:
- Java (JBox2D; also included in libgdx)
- XNA (Box2D.XNA)
- ActionScript3 (Box2DFlashAS3)
- JavaScript (complex situation; you probably want box2d.js)
Many of the ports have no manual, but most closely follow the original one.