Box2D extension - open source now

Have you continued to work on this extension? Physics is Defold’s biggest remaining weakness to me, so I am very interested in this if it’s reasonably well supported.
Is it limited to certain platforms, or does it work everywhere?

Features that I would want (that I didn’t notice in the video):
(roughly of in order of priority)

  • Polygon and Chain shapes.
  • “Bullet” bodies.
  • Get body moment of inertia (needed for controlled rotation with torque).
  • Contact properties in callbacks: particularly the normal.
  • Ignoring collisions in PreSolve.
  • Dynamic attaching and destruction of fixtures from a body.
  • Raycasts.
  • “Sensor” fixtures.

Nice to have:

  • Set fixture density.
  • Get center of mass.
  • Joints.
  • Setting fixture categories & masks.
  • Pretty much everything else that Box2D has… :smile:
3 Likes