I'm trying to create some terrain for my Box2dWeb -game. After reading the rather tiny documentation for Box2DWeb I am unsure if I can create long edge chains from a set of coordinates. I think the box2d feature for this is called "chain shapes" but so far I haven't seen anyone use them with javascript versions of box2d.
Do you know if there is a good way of drawing a line trough a set of coordinates in box2dweb? For example, how would I draw a line trough the following svg coordinates:
<svg>
<g id="Layer_3">
<polyline fill="none" stroke="#0000FF" stroke-width="3" points="33,108 66,141 99,174 99,207 132,207 165,207 165,240 "/>
</g>
</svg>