Jump to content

Chipmunk (software)

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Snk89 (talk | contribs) at 03:15, 5 April 2010. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Chipmunk physics engine
Original author(s)Scott Lembcke
Stable release
5.0 / 2009 December 7
Repository
Typemiddleware
LicenseMIT License
Website[1]

The Chipmunk SDK is a portable open-source 2D physics engine written in C99 by Scott Lembcke and published under the MIT license. Ruby bindings are provided, and third party interfaces for Python [2], Haskell and OCaml [3] are also available. Chipmunk is supported by both the Aerosol [4] and cocos2d-iphone [5] game libraries.

Features

Chipmunk supports multiple collision primitives attached to a single rigid body and bodies may be joined by constraints. It has a flexible collision detection system with layers, exclusion groups and collision callbacks. Callbacks are defined based on user definable "collision types" and may reject collisions and even override the calculation of friction and elasticity coefficients.

References