pybox2d - 2.0.1b4
Ken Lauer (kne)
Box2D is an open source physics engine written primarily for games. It's a purely 2D engine. Features include (as of 2.0.2) circles, up to 16-sided polygons, thin line segments, controllers (for buoyancy, gravity, etc.), basic breakable bodies, and pickling support. An easily extendable testbed for pygame and pyglet is available on the homepage.
For installing with the automated installer on Windows or OS X, see here.
For information on how to build from the source, see here.
(Screenshot: test_BezierEdges.py, bezier edges implemented using thin line segments)
- Supports comparing shapes, joints, bodies. Doesn't require using userData anymore.
- Major clean ups with Box2D.i
- Added some docstrings to Box2D.i functions
- Added b2PolygonDef.checkValues(): checks the Polygon definition to see if upon creation it will cause an assertion to fail (raises ValueError)
- Wrapped shape.GetCoreVertices() like GetVertices() (for test_TimeOfImpact)
- test_Web fixed
- All stuff prettily printed by a semi-automated process now
- Updated test_Bridge.py to SVN rev 156
- Added many comments to test_main
Python 2.4 installer available on the homepage.
Source distribution added to make it easier for compiling in Linux.
Pygame.org account Comments
If you wish to leave a comment with your pygame.org account, please sign in first.