Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any editor out there that would allow me to define complex entities, with joins connecting their multiple bodies, instead of regular single body entities? For example, an editor that would allow me to 'define' a car as having a main body with two circles as wheels, connected through joints.


I realize I haven't been clear enough about what I need. I'd like to make my engine data-driven, so all entities (and therefore their Box2D bodies) should be defined externally, not in code.

I'm looking for a program like Code 'N' Web's PhysicsEditor, except that one only handles single body entities, no joints or anything like that. Like PhysicsEditor, the program should be configurable so that I can save the data in whatever format I want to. Does anyone know of any such software?

share|improve this question

closed as not constructive by Byte56, Anko, Tetrad Apr 29 '13 at 23:29

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

This might be useful: although I have to say, asking to save in 'whatever format you want to' is a pretty tall order :) – iforce2d Jun 4 '12 at 14:26
@iforce2d I honestly don't think it's that tall of an order. You need to have an interface to some scripting language, and the user can can redefine the load and save functions through scripts. – Paul Manta Jun 4 '12 at 14:39
ah, well that sounds reasonable - I was imagining a huge list of options in the save dialog where you could choose csv, xml, bson etc. But exposing every facet of the Box2D world to script is not a trivial undertaking either... I just spent six months doing exactly that (see the 'pro' version linking from the page above, it allows for exporters to be written in script like you are talking about). – iforce2d Jun 4 '12 at 17:18
up vote 6 down vote accepted

You may be interested in Physics Body Editor. That's an open-source tool handling bodies with multiple fixtures.

A big update is in progress, and next revision will support complex dynamic objects made of multiple rigid bodies linked with custom joints, as well as a scripting support for directly testing your bodies.

Hope you'll like it ;)

share|improve this answer
Physics Body Editor is good but if it allows us to define joints as well, it will be perfect. – Tae-Sung Shin Jan 17 '12 at 8:29
Hi Aurelien... thanks for this superb tool. I am wildly searching for such a tool to use with LibGDX. But found that this is noy yet released in ur blog. I am a newbie and have justed with game development in LibGDX. Would like to know ..what is the best way if I want to make Box2D based levels in LibGDX games. Thanks in advance. – Vishal Kumar Oct 4 '13 at 10:10
It still doesn't have mentioned functionality... – nikoliazekter May 22 '15 at 11:23

R.U.B.E. is fantastic:

Its just does what it should and is not restricted to specific game engines like levelhelper..

share|improve this answer

The Box2D website does list 3 editors that could be useful to you.

One of the links is dead however. I was only able to check this one out:

There is an option to dump to code that I tried, and it does in fact give you the Box2D code of whatever you built on screen. Looks pretty decent.

share|improve this answer

LevelHelper ( has support for Box2D joints. Here's a tutorial to get your started:

share|improve this answer

I use level director ( and PhysicsEditor by codeandweb.

Physics Editor will allow you to apply the physic properties and body shapes to each object and Level Director will allow you to import them and then setup the complex bodies and joints as needed. Once done, Level Director allows you to export the data in pretty much any format you desire via a template.

share|improve this answer
Link-only answers die when the link changes somehow. Could you summarise the "why"? – Anko Apr 28 '13 at 14:51
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. – Vaughan Hilts Apr 28 '13 at 22:41

Not the answer you're looking for? Browse other questions tagged or ask your own question.