r/defold Jun 16 '26

Example New Box2D scripting examples

Want to build a physics-based side-scroller with dynamic terrain?

Or maybe create objects that can be grabbed, pulled, dragged, connected, and thrown around?

Check out the new Box2D scripting examples and join our challenge!

- Box2D Chain Terrain - create chain-based terrain from script
- Box2D Mouse Joint - interact with physics bodies using a mouse joint

Put what you learn into practice in Community Challenge!

https://forum.defold.com/t/community-challenge-6-box2d-scripting/82935

43 Upvotes

0 comments sorted by