Autotrace of image to box2d shape

What would you like to see in future versions of the editor?
Post Reply
IndiumIndeed
Posts: 1
Joined: Sun Mar 24, 2013 11:31 am

Autotrace of image to box2d shape

Post by IndiumIndeed »

This is available in Physics Body Editor, which is a tool similar to Rube2d with much smaller feature set. Physics Body Editor is open source, with Apache 2.0 license so you could even use it in your project.

https://code.google.com/p/box2d-editor/ ... erter.java

This text might also help in adding such feature:

http://astroboid.com/2010/06/mapping-bo ... tures.html
iforce2d
Site Admin
Posts: 861
Joined: Sat Dec 22, 2012 7:20 pm

Re: Autotrace of image to box2d shape

Post by iforce2d »

That is definitely something I would like to do sometime. The voting for it does not seem to be too high though...
I would probably try to do something like mentioned in this thread, where you could create a boundary for multiple images, as well as just a single image: http://www.cocos2d-iphone.org/forum/topic/112793
Note how the purple lines in the screenshot go around the edge of where multiple images have been overlaid.
Post Reply