Recently I came across this amazing software known as Physics Body Editor. This really eases the pain which we are used to have which drawing a polygon in a Box2dWeb world. You got to check it out.
I've created a form in which if you upload the file generated on saving the project on box2d-editor will generate the code to make that polygon in Box2dWeb world.
Things to remember?
Please go and have a look. Here is the link: http://adf.ly/JUik1
I've created a form in which if you upload the file generated on saving the project on box2d-editor will generate the code to make that polygon in Box2dWeb world.
Things to remember?
- Change the file extension to *.box2d
Do NOT change the origin position.
Draw your shape in the first quadrant only.
It generates a mirror image of the body you want. The mirror image is about the X-Axis.
Do NOT draw a circle.
Please go and have a look. Here is the link: http://adf.ly/JUik1