Vertices to multi-element physics body

Instead of using an image to generate a multi-element physics body via Corona graphics.newOutline( ) or Physics Editor, I want to generate a multi-element physics body from a table of vertices (convex AND concave).

Is there anything out there that does that?  I could spend a day making a module but I’d prefer to find or buy an existing solution or module.

Any ideas?

I’ve entertained the idea of creating better fitting convex bodies with chains.  This might be a useful part of your solution, since chains support more than 8 vertices.

https://docs.coronalabs.com/daily/guide/physics/physicsBodies/index.html#edge-shape-chain-body

Additionally, chain vertices are real-coordinates, not relative coordinates like those use for standard bodies.  This may make them easier to construct.

Thanks Ed, you’re the best!

I’ve entertained the idea of creating better fitting convex bodies with chains.  This might be a useful part of your solution, since chains support more than 8 vertices.

https://docs.coronalabs.com/daily/guide/physics/physicsBodies/index.html#edge-shape-chain-body

Additionally, chain vertices are real-coordinates, not relative coordinates like those use for standard bodies.  This may make them easier to construct.

Thanks Ed, you’re the best!