Edges in Box2DFlash 2.1a

Hi Boris,

I'm pretty confused about the differentiation between b2ChainDef, b2EdgeShape, b2PolyLine. Are edge shapes higher performance than a decent concave polygon decomposition? Is the "vertex snag" problem less of an issue in a polygon versus the current edge implementation?

Most importantly, are any of these edge implementations working and fast enough to start using? On the iPad my game is hanging for a looooong time trying to decompose my levels. I'd love to just switch to edges and be done, but I don't feel like doing a test conversion when you probably know. Thank you!

-Tim Kerchmar
On second thought, it was an easy conversion. I already chuck colinear vertices, and vertices that are too close to each other. The result loads super fast, and seems to work well with my fast moving player shape, and with the rope raycasts. I am using b2PolygonShape.AsEdge!

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