whatisgithub

What is box3d-godot?

stink-o/box3d-godot — explained in plain English

Analysis updated 2026-05-18

54CAudience · developerComplexity · 3/5LicenseSetup · moderate

In one sentence

An experimental Godot 4.7 extension that brings the Box3D 3D physics engine into Godot as ready-to-use bodies, joints, and a character controller.

Mindmap

mindmap
  root((box3d-godot))
    What it does
      3D rigid body physics
      Godot nodes and joints
      Character controller
    Tech stack
      C
      Godot 4.7 GDExtension
      Box3D engine
    Use cases
      Add physics to a Godot game
      Prototype ragdolls or vehicles
      Test physics on Android
    Audience
      Game developers
      Godot hobbyists

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Add realistic 3D rigid body physics, like boxes, ragdolls, and vehicles, to a Godot game.

USE CASE 2

Try out joints such as hinges, sliders, and wheels between connected objects in a scene.

USE CASE 3

Test physics performance on Android devices using the included touch-friendly demo.

USE CASE 4

Use the sample browser as a reference for building your own physics-driven scenes.

What is it built with?

CGodot 4.7GDExtensionSCons

How does it compare?

stink-o/box3d-godotalphapixel/eric-graham-1987-juggler-raytracer-1.0redteamfortress/pplshade
Stars545454
LanguageCCC
Setup difficultymoderatehardhard
Complexity3/52/55/5
Audiencedevelopergeneralresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Windows has prebuilt binaries, Linux and macOS need to build the extension from source with scons first.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

So what is it?

box3d-godot brings realistic 3D physics into the Godot game engine, version 4.7 specifically, by wrapping an existing physics engine called Box3D and exposing it as ready to use building blocks inside Godot, such as a physics world, physics bodies, joints connecting objects, and a character controller for moving a player around. Box3D itself, made by Erin Catto, handles the actual math of how solid 3D objects collide, bounce, and move under gravity and forces. It supports many shapes including boxes, spheres, capsules, cylinders, cones, and more complex meshes, along with a full set of joints for hinges, sliders, wheels, and fixed connections between objects. It can detect contacts and overlaps, cast rays and shapes to check what they hit, and is built for handling large numbers of physics objects efficiently using multiple threads. This project's own contribution is the Godot specific layer, kept separate from the unmodified Box3D source code, that turns those physics features into nodes a Godot developer can drag into a scene. It includes a sample browser with around 28 demo scenes showing things like stacked boxes, a ragdoll character, a drivable car, various joints, and different types of queries. It has also been tested running on real Android phones and tablets using Vulkan graphics, with touch controls built into the demo. To try it, you clone the repository and open the included demo project in Godot 4.7. Prebuilt binaries are included for Windows, so it runs immediately there, while Linux and macOS users, or anyone changing the underlying C++ code, need to build the extension first using a tool called scons. The README is upfront that this is very early and experimental: Box3D itself is still at an early version number, and the Godot binding is young, so users should expect missing features, rough edges, and changes to how things work over time. It is meant as a starting point to build on rather than something ready for a finished game. The project is licensed under the MIT license, and the author notes that AI tools were used to help with things like unit tests, sample code, and build configuration, while taking responsibility for all the code personally.

Copy-paste prompts

Prompt 1
Walk me through cloning box3d-godot and running the demo project in Godot 4.7.
Prompt 2
Explain how to build the box3d-godot extension from source on Linux using scons.
Prompt 3
What physics shapes and joints does box3d-godot currently support?
Prompt 4
Show me how to add a Box3DBody and character controller to a new Godot scene.

Frequently asked questions

What is box3d-godot?

An experimental Godot 4.7 extension that brings the Box3D 3D physics engine into Godot as ready-to-use bodies, joints, and a character controller.

What language is box3d-godot written in?

Mainly C. The stack also includes C, Godot 4.7, GDExtension.

What license does box3d-godot use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is box3d-godot to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is box3d-godot for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.