As we’re gearing towards the new release of YATS (which will implement a super cool physics support), we ported Antoon Angelov Convex Separator for Box2D Flash class to LUA and, more specifically, Corona SDK.
What does this do exactly? Box2D (the physics engine used by Corona) doesn’t support non-convex bodies. With this module, a non-convex body will be automatically separated into several fully supported bodies. We’ve also made sure that these bodies are properly placed on top of any particular object (be it a polygon, or any other display object) you pass to it, and that you’re also able to define parameters such as body type, density, friction and bounce.
This still wasn’t throughly tested for every scenario, but should be solid for the most common ones.