Chipmunk Physics engine running on the iPhone

A couple months ago I hacked together a demo of Chipmunk Physics engine running on the iPhone using the unofficial SDK. It shows the standard Chipmunk demos, but also it reads in accelerometer data using the method described on the Medallia blog.

For the most part it was a fairly simple translation from standard OpenGL to the OpenGL ES the iPhone uses. If anyone is interested in the source code, let me know and I’ll see if I can find it… edit: source is posted. see below

iPhone Chipmunk Physics demo application – run from the command line (either using MobileTerminal.app or over ssh), only tested on iPhone software 1.0.2.

Update: the source – this is just modified from the original Chipmunk Physics demo, so the original license applies. I can’t support this at all, so you’re on your own. I believe I used the hacked iPhone toolchain version 2 (or 3?), so you may have to edit the Makefile if you have a different version or installed it somewhere other than /usr/local/bin/.

  • This immediate access to therapeutic care in cooperation and conjunction with the diagnostic assessment of the physicians and supporting medical community leads to a much higher rate of success in a timely manner for the individual seeking services.
  • amith123
    you guys should check out BlockDrop iCon Trick
  • jpetral
  • Andrew
    How would one use this with the standard SDK? Is it difficult to stick this into an iPhone Xcode project?
  • Andrew: You might want to check out Cocos2d-iphone .. it's a 2d game engine written for the iPhone that includes Chipmunk if you want to use it..
blog comments powered by Disqus


Warning: include(/home/tlrobinson/tlrobinson.net/_footer-analytics.php) [function.include]: failed to open stream: No such file or directory in /home/tlrobinson/tlrobinson.net/blog/wp-content/themes/clean-look-150/footer.php on line 13

Warning: include() [function.include]: Failed opening '/home/tlrobinson/tlrobinson.net/_footer-analytics.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/tlrobinson/tlrobinson.net/blog/wp-content/themes/clean-look-150/footer.php on line 13