Heh, yes I saw that you have mentioned a few times about not iterating the chipmunk lists directly. Makes perfect sense. I already iterate my objects so I can easily check the body for each one as I go through and use the BB of the attached shape(s) thanks for the tip there.
The problem is using the velocity from the body, the pile can slide around from left to right so I should ignore the x component of velocity. However, objects tossed onto the pile will have a y component of zero at the top of their parabola and low vertical velocity just before and after. I was hoping there is a relatively easy way to check for contact with other objects and even better, a timestamp for the contact so that I can eliminate bouncing objects in the air and only objects that have settled with a contact for more than say 0.2 seconds will be considered.
Games games games... I love games. Check out my games: