Physics Body Editor for Defold (Polygon Editor)

#1

I was in research for one of our game prototype which requires custom collision shapes. I came across the Physics Body Editor was originally developed by Aurelien Ribon. But its internal system was designed to use with libGDX. So I decided to make my own exporter for Defold build top on the editor.

This is the modified version of Physics Body Editor for Defold Game Engine compatibility. I made a lots of breaking changes, improvements, added new functionalities and bug fixes.

Download

More info and manual is available here:
https://selimanac.github.io/physics-body-editor/

P.s. I wish we will have rigid bodies in the editor someday. We can combine shapes and use them as dynamic bodies.

Features

  • Convex shape file generation
  • GameObject file generation
  • Pivot point
  • Grids and snap
  • Multiple shapes in same body

Tutorial video

Release Notes

1.5.0

  • All dependencies updated.
  • New dark theme GUI.
  • New coordinate system.
  • New zoom level and pivot(origin) functionallties.
  • Defold Exporter with .convexshapes and .go files.
  • Lots of major & minor bugs fixed.

Source code is available on Github

selimanac/physics-body-editor - GitHub

13 Likes