detect if shapes are contained within non convex region
Posted: Fri Mar 05, 2010 5:11 am
hey there
i am using chipmunk for an iphone puzzle game, works great. i am a bit stuck though, i have a bunch of active shapes and i need to detect if they are all within a non-convex polygonal region defined by a bunch of vertices. what would be the easiest way to achieve this?
i am using chipmunk for an iphone puzzle game, works great. i am a bit stuck though, i have a bunch of active shapes and i need to detect if they are all within a non-convex polygonal region defined by a bunch of vertices. what would be the easiest way to achieve this?