Chipmunk Physics Engine

Fast and lightweight 2D rigid body physics library in C
Feb 22, 2010: Objective-Chipmunk binding and utilities released!
Donate:
Hundreds of hours have been put into making Chipmunk what it is today. If Chipmunk has worked well for you, please consider donating to help support further development! We at Howling Moon software like to know our hard work is appreciated. If you use Objective-C, please consider using our Objective Chipmunk binding and utility library.
Downloads:
- Chipmunk Joint Demonstration on YouTube
- See lots of Chipmunk videos on YouTube
- Download the Chipmunk demos (ready to run!): Mac
- Download the library from Google Code.
New in 5.0:
- New joints/constraints system: Much more flexible and programable than before. Joints have adjustable parameters now so you can use them like servos, etc.
- Raycasting;:useful and implemented very efficiently
- New collision callback API: You now can register callbacks for collision begin/separate events among other useful things.
- Sensor shapes: Collision shapes that call callbacks but don't generate collisions, like sensors in Box2D or triggers in Unity
- API for safely removing objects from the space from callbacks
Features:
- Designed with 2D video games in mind
- Circle, convex polygon, and beveled line segment collision primitives
- Multiple collision primitives can be attached to a single rigid body
- Fast broad phase collision detection by using a spatial hash
- Extremely fast impulse solving by utilizing Erin Catto's contact persistence algorithm
- Support for collision callbacks based on user definable object types
- Flexible collision detection system with layers, exclusion groups and callbacks
- Impulses applied to contact points can be retrieved after the impulse solver has finished for gameplay effects
- Several kinds of joints available(a generic and extendable constraint programming interface coming soon)
- Lightweight C99 implementation with no external dependencies
- Many language bindings available
- Simple, read the documentation
- Unrestrictive MIT license
- Makes you smarter, stronger and more attractive to the opposite gender!
