I wonder if anyone can suggest the best approach to detect collision between multiple shapes.
I am using Chipmunk on an iPad with iOS 4.2 and Cocos2D 1.0 - I basically have a cpShape travelling around the iPad screen - there are two segment cpShape's (arranged in a V-shape) and I'd like to know when my travelling shape is touching BOTH the segment shapes (ie the corresponding sprite is sitting comfortably inside the V).
Any ideas? I have set up my callback with cpSpaceAddCollisionHandler but I don't seem to have a list of all of the shapes the current colliding shape is touching. Is that possible or do I have to code and store the information manually?
Thanks