Hi Bruce :)
I'm keeping references to every ShapeDef and BodyDef object in order to modify or reset box2d bodies in my level Editor.
Unfortunately b2ShapeDef miss every getter methods to retrieve original information.
And I think that b2PolygonDef miss the GetVertices() method too.
I know some of the getter method exist in b2shape but not all of them (density for example, which is probably modified by Box2d).
I would love to see these in a next update :)
Thanks !
I'm keeping references to every ShapeDef and BodyDef object in order to modify or reset box2d bodies in my level Editor.
Unfortunately b2ShapeDef miss every getter methods to retrieve original information.
And I think that b2PolygonDef miss the GetVertices() method too.
I know some of the getter method exist in b2shape but not all of them (density for example, which is probably modified by Box2d).
I would love to see these in a next update :)
Thanks !