Chipmunk (software)
Original author(s) | Scott Lembcke |
---|---|
Stable release | 6.2.1 / October 15, 2013 |
Written in | C, Objective-C |
Operating system | Cross-platform |
Type | Middleware |
License |
MIT License (Free version) Proprietary (Pro version) |
Website |
chipmunk-physics |
Chipmunk2D is portable 2-dimensional real-time rigid body physics engine written by Scott Lembcke that is designed to be portable, lightweight, fast, and easy to use.[1] Two main versions of the library exist. Chipmunk2D Free is written in C99, and is freely available under the terms of the MIT License. Chipmunk2D Pro is written in both C and Objective-C, and includes enhanced support for iOS-based devices.[2] There are official bindings for Ruby, and third party interfaces exist for Python,[3] Haskell,[4] OCaml,[5] and others.[6] Chipmunk is endorsed by the Aerosol, Gosu,[7] and Cocos2d[8] game libraries.
Features
Chipmunk supports multiple collision primitives attached to one 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.
Chipmunk has been widely used on the iPhone, Mac/Windows/Linux, and other platforms, including Nintendo Wii and Sony PSP.[9]
See also
References
- ↑ Chipmunk2d update reduced CPU hits for sleeping items
- ↑ "Chipmunk2D Physics Pro". Howling Moon Software. Retrieved 2014-05-26.
- ↑ Pymunk at pyweek.org
- ↑ Hipmunk: A Haskell binding for Chipmunk
- ↑ ocaml-chipmunk
- ↑ Bindings and Ports
- ↑ Johnson, Dirk. "Gosu Chipmunk Integration". Retrieved 2014-05-26.
- ↑ Cocos2d
- ↑ "Chipmunk Physics ported to the PSP"
External links
- Official website
- Chipmunk Forums
- Chipmunks Ruby Bindings, with more functionality wrapped.
- chipmunk-ffi, a more up-to-date Ruby interface using Nice-FFI.
- Demos of Chipmunk on YouTube
|