Chipmunk Physics 5.3.3 is out.

Sage
Posts: 1,487
Joined: 2002.09
Post: #1
[Image: logo1_med_alpha.png]

Things got delayed longer than I had hoped, but it's finally out.

Get the source while it's hot! (Mac/Win/Linux/iPhone/etc)

Chipmunk is a high performance, MIT licensed 2D physics library with all the fixings. Written in C99, bindings and ports exist to over a dozen languages. Including an official binding to Objective-C that makes it fit right in on the iPhone. Chipmunk has been used on many platforms including the PC (Mac/Win/Linux), iPhone, Android, Symbian, DS, PSP, and even the Wii. It has been used for many chart topping iPhone games including Zombie Smash, I Dig It, Crush the Castle, Finger Physics, Doodle Army and more!

Google Code Project Page
Cheesy promo video: Youtube
Documentation: C API docs/Objective-C API Docs
See some games made with Chipmunk. (at least a few of the ones I know of)
Demo app binaries: (Mac, Win, iPhone)

This update fixes a couple small bugs and adds a number of new features that have been requested. Other than further bug fixes, this will probably be the last minor release while work begins on major new features for Chipmunk 6.0.

CHANGES SINCE 5.3.2:
  • API: Added cpArbiteGetCount() to return the number of contact points.
  • API: Added helper functions for calculating areas of Chipmunk shapes as well as calculating polygon centroids and centering polygons on their centroid.
  • API: Shape queries. Query a shape to test for collisions if it were to be inserted into a space.
  • API: cpBodyInitStatic() and cpBodyNewStatic() for creating additional static (rogue) bodies.
  • API: cpBodySleepWithGroup() to allow you to create groups of sleeping objects that are woken up together.
  • API: Added overloaded *, +, - and == operators for C++ users.
  • API: Added cpSpaceActivateShapesTouchingShape() to query for and activate any shapes touching a given shape. Useful if you ever need to move a static body.
  • FIX: Fixed an extremely rare memory bug in the collision cache.
  • FIX: Fixed a memory leak in Objective-Chipmunk that could cause ChipmunkSpace objects to be leaked.
  • MISC: C struct fields and function that are considered private have been explicitly marked as such. Defining CP_ALLOW_PRIVATE_ACCESS to 0 in Chipmunk.h will let you test which parts of the private API that you are using and give me feedback about how to build proper APIs in Chipmunk 6 for what you are trying to do.
  • MISC: Allow CGPoints to be used as cpVect on Mac OS X as well as iOS.

Scott Lembcke - Howling Moon Software
Author of Chipmunk Physics - A fast and simple rigid body physics library in C.
Quote this message in a reply
Moderator
Posts: 916
Joined: 2002.10
Post: #2
have a MacOS X Objective-Chipmunk link too? ^_^
Quote this message in a reply
Sage
Posts: 1,487
Joined: 2002.09
Post: #3
@skyhawk: Will have one shortly.

Scott Lembcke - Howling Moon Software
Author of Chipmunk Physics - A fast and simple rigid body physics library in C.
Quote this message in a reply
Moderator
Posts: 456
Joined: 2003.08
Post: #4
Looks cool, may grab a copy to play around with!
Alex
Quote this message in a reply
Sage
Posts: 1,487
Joined: 2002.09
Post: #5
Mac build of Objective-Chipmunk for anyone that is interested:
http://files.slembcke.net/temp/Objective...-5.3.3.tgz

It uses Objective-C 2.0 stuff, so 10.5 and up only.

Scott Lembcke - Howling Moon Software
Author of Chipmunk Physics - A fast and simple rigid body physics library in C.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Chipmunk Physics 6.1 Skorche 0 1,506 May 24, 2012 12:19 PM
Last Post: Skorche
  Chipmunk Physics 5.3.2 Skorche 0 2,889 Oct 9, 2010 10:34 AM
Last Post: Skorche