How to define collision body for artist created sprite?

Hi,

I am interested in hearing suggestions how an artist who draws all our game's graphics sprites would define the collision bodies for the sprites he makes. How is this usually done? Of course I could just manually roughly create the collision body straight in code but that's really time consuming if the shapes are more complicated than boxes or spheres.

How you guys do this?
Hi

I have tried the Moore Neighbor Tracing algorithm, and it works quite good for tracing the outlines of an image. All the graphical artist has to do is to save an black and white copy of the original image and then run it thru the algorithm. The program then traces the outlines and saves the vertecies to file, wich you can then use in your game to create the physical representation of the image.

Edit:

You could also create a program where you manually set all vertecies. And then save them to file. But depending on granularity, you could probably use Moore Neighbor Tracing algorithm runtime, as its quite fast.
http://www.physicseditor.de/features/

Original thread: https://box2d.org/forum/viewtopic.php?t=6840