suvitruf/box3d-unity — explained in plain English
Analysis updated 2026-05-18
Build a networked multiplayer game that requires deterministic physics for lockstep or rollback netcode.
Run physics simulations with large crowds or piles of debris that process faster than Unity's built-in engine.
Record and replay physics simulations to reproduce bugs or verify exact game state.
Create a drivable vehicle with suspension and steering using built-in joint types.
| suvitruf/box3d-unity | areslevrai/celestial-launcher-releases | boundingboxsoftware/charactercontroller | |
|---|---|---|---|
| Stars | 133 | 133 | 133 |
| Language | C# | C# | C# |
| Setup difficulty | easy | easy | easy |
| Complexity | 3/5 | 1/5 | 3/5 |
| Audience | developer | general | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires Unity 6000.0 or newer, native binaries are only included for Windows, Linux, Android, and WebGL.
Box3d for Unity is a C# wrapper that brings the Box3d physics engine into the Unity game engine. Box3d is a 3D physics simulation created by Erin Catto, who also created the widely used Box2D engine. This project acts as a bridge, exposing the engine's roughly 580 native C functions in a way that feels natural to Unity developers. The author notes that the wrapper is currently in an early stage and tracks the young Box3d engine, so you should expect changes as the underlying engine updates. The package covers the standard features needed for a physics engine. You can create static, kinematic, and dynamic bodies, and assign them shapes like spheres, capsules, and convex hulls. It includes nine types of joints for connecting objects, such as distance, revolute, and wheel joints with suspension and steering. You can cast rays to detect objects, handle collision events, and use a character mover toolkit for kinematic capsule controllers. The wrapper also includes extras like explosions and wind, plus a debug overlay to visualize shapes, contacts, and forces directly in the Unity editor. A notable feature is its focus on determinism and replay. You can record a simulation and verify that it reproduces the exact same state, even across different numbers of worker threads. This is useful for networked games that use lockstep or rollback netcode, and for reproducing bugs. The engine handles multithreading internally, allowing you to configure the number of workers per world to scale performance across independent groups of objects, such as piles of debris or crowds. Performance comparisons against Unity's built-in PhysX engine show faster processing times in several test scenes. In one test with 10,000 falling spheres, Box3d processed the frame in 1.84 milliseconds compared to PhysX's 6.70 milliseconds. Box3d performs best with scenes that contain many independent piles or crowds, while a single large coupled constraint network is its least favorable scenario. You can install the package through the OpenUPM registry or by providing a Git URL in Unity's Package Manager. It requires Unity 6000.0 or newer and includes native binaries for Windows, Linux, Android, and WebGL. The project ships with several sample scenes, including an interactive playground, a drivable vehicle, and a large pyramid stress test.
A Unity plugin that brings the Box3d physics engine into Unity, offering faster performance than Unity's built-in physics for large scenes, with features for determinism, replay, and networked games.
Mainly C#. The stack also includes C#, Unity, Box3d.
The license is not specified in the repository explanation, so terms of use are unknown.
Setup difficulty is rated easy, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
double-check against the repo, no cap.