Physics engines

From OLPC
Revision as of 16:25, 14 March 2008 by Crazy-chris (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This is a short comparison of 2d physics engines.

Chipmunk Box2d Phun iPhysics
License MIT zlib - -
Source Code yes yes no no
Forums [1] [2] [3] -
irc.freenode.net #pymunk #box2d - -
Latest Release March 08 March 08 March 08 March 08
Language C C++ C++
Library Size 41 kb 165 kb ~ 1.5 mb ~ 300 kb
Platforms Linux, Windows, Mac Linux, Windows, Mac Linux, Windows iPhone
Python Bindings pymunk via SWIG - -
XO Compatible yes yes not yet (only with OpenGL) -
Notes Fast Feature-Rich Feature-Rich more infos
Screenshots [4] [5] [6]
Videos [7] [8] [9] [10] [11]


Download & Build Instructions

Chipmunk

  1. http://files.slembcke.net/chipmunk/release/ChipmunkLatest.tgz

Chipmunk, Python API & Examples

  1. http://www.linuxuser.at/elements/elements.zip

Box2d

  1. svn co https://box2d.svn.sourceforge.net/svnroot/box2d box2d
  2. Download and apply this patch: http://pippin.gimp.org/tmp/box2d-build-diff.txt
  3. run 'make'

If it fails with a suggestion to use the -fPIC flag, add it to Source/Makefile, line 13. So it looks like this:

CXXFLAGS=   -g -O2 -fPIC

Phun

  1. http://phun.cs.umu.se/wiki/Download (Binaries for Windows and Linux)

iPhysics

  1. http://iphysics.r4m0n.net/index.php?title=Latest_Updates