i want to ask you ,what utility do you use to define the vertex of the polygon in the box2d.
hello , how to define the vertex of the polygon in the box2d
iPhoneYou have to be more specific.
PolygonShapes have an m_vertices member you use to set the vertices.
-P
PolygonShapes have an m_vertices member you use to set the vertices.
-P
I use a handy tool by Johannes Fahrenkrug called VertexHelper
https://github.com/jfahrenkrug/VertexHelper
https://github.com/jfahrenkrug/VertexHelper
Original thread: https://box2d.org/forum/viewtopic.php?t=6075