Quote:
But you are saying that the static edges could just as well be part of a normal static body? With a slightly different constructor?
Mostly. One reason why I created the world.CreateGroundShape() function for static edges was so that people wouldn't accidentally try to add static edges to a dynamic body. Another reason is that, unlike other shapes, b2StaticEdges are not offset by the position of their parent body. That is, the position of the vertices is always in world coordinates, even if the origin of the parent body is far away from the origin of the world. As long as you keep that in mind, though, there's nothing stopping you from moving the origin of the parent body anyway.