Hopefully, this question isn\'t a dumb as I fear it sounds, but it may still be pretty dumb.
I\'m new to Objective-C, and Cocoa. In fact, I\'m completely new to C i
I haven't used Chipmunk, but it's probably written in C/C++. That's the reason.
EDIT: Yup, it's written in C.
chipmunkBody
is a pointer to a struct, and the arrow operator (->
) is how you access the members of a struct through a pointer to the struct in C.
In case you're looking for an easy way to use Chipmunk thru way of Objective-C, Theres a nice little post about an Objective-C class called SpaceManager here: http://www.mobile-bros.com/?p=126