I'm Struggling to find out a way to make a pixel perfect collision shape out of a mask in pymunk.
Is there a way to do this? I've built a class in PIL that returns the mask of an image, where the transparent area is black and non-transparent area is white, but I can't find the way to make a shape out of it for a body in pymunk.
Also, which way would give better perfomance, a single concave shape or a bunch of primitives?