Each body in my simulation corresponds to a video derived silhouette, so I want Box2D to simulate polygons that change 30 times per second. Right now I'm deleting every body's shapes and replacing them with new triangles for each step of Box2D. Does this make any sense to do with Box2D? I haven't gotten things to work yet. I'm using the OpenGL debug code that was posted here to draw the shapes Box2D actually has, and my shapes are not showing up.
Which leads to a related question, can I create a dynamic body overlapping another dynamic body (both made of triangle shapes) and expect to get decent visual results? Or even any results? There is a body I successfully add 6 shapes to at each iteration, but when I draw those shapes (and output their shape types) I only get 1 triangle shape, a couple unknown shapes, and 2 shapes don't even have a valid type.
Which leads to a related question, can I create a dynamic body overlapping another dynamic body (both made of triangle shapes) and expect to get decent visual results? Or even any results? There is a body I successfully add 6 shapes to at each iteration, but when I draw those shapes (and output their shape types) I only get 1 triangle shape, a couple unknown shapes, and 2 shapes don't even have a valid type.