how to calculate vertices position of b2Polygon in box2D??

Hello,

I have one shape when it touches another collision detection should happen, for that i need to draw b2Polygon shape in xcode. I need proper vertices to draw this shape in iPhone. Can anyone please help me how to do that?

Thank you,

Anks
Take a look at the b2World::DrawShape function to see how to get the vertices to draw.

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