Collision detection with polygon images

I’m having a problem figuring out how to make a collision detection with polygon images because when the image is loaded using display.newImage(…) it’s constrained within a rectangle/square bounding box, as seen here (in the example I added the stroke for visual purposes only):

Is there a way to load an image and have it not be constrained by any bounding boxes?

Thanks [import]uid: 8446 topic_id: 9824 reply_id: 309824[/import]

Look into PhysicsEditor by Andreas Loew. You can use that program to trace the polygon (with the press of a button it will automatically create it) and you can also set parameters of the physics shape. Then you export it to a .lua file and require it in your file. [import]uid: 40033 topic_id: 9824 reply_id: 35792[/import]

That’s pretty sweet, I’ll give it a shot, thanks! [import]uid: 8446 topic_id: 9824 reply_id: 35797[/import]