awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
erincatto avatar

erincatto/box3d

0
View on GitHub↗

Box3d

Box3D is a dependency-free C library for 3D rigid body physics, intended for linking into game projects. It simulates rigid bodies, stacking, joints, and ragdolls inside a physics world that is stepped with a fixed time step, so objects fall, collide, and come to rest. Bodies can be static or dynamic, and the library reports their position and rotation and notifies the application when they move or fall asleep.

What sets it apart is a focus on determinism and scale. Simulations are designed to produce identical results across platforms, and runs can be recorded and replayed to reproduce and debug physics behavior. For large body counts, solver work is spread across worker threads through task callbacks and uses AVX2, SSE2, and NEON SIMD instructions in a data-oriented design. When no worker threads are supplied, the simulation runs single-threaded. Benchmark scenes and determinism-verification scenes are included.

The collision system covers spheres, capsules, convex hulls, triangle meshes, and height fields, and several shapes can be attached to a single body. It includes continuous collision handling for fast-moving bodies, sensors that report overlaps without a collision response, contact begin and end events, and collision filtering. Ray casts, shape casts, and overlap tests can query the world. A character mover slides player and creature bodies along level geometry without passing through solid objects. A set of sample scenes demonstrates stacking, joints, ragdolls, character movement, and other behaviors.

The library builds with CMake and can be pulled in through FetchContent, a vendored subdirectory, or an installed package using a single target. Presets cover Windows, Linux, and macOS, with Debug and Release configurations plus MinGW and clang-cl alternatives, and a bash script is provided to build from source.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Features

  • Rigid Body Dynamics - Simulates rigid bodies by solving contact and joint constraints so objects fall, collide, stack and come to rest.
  • Rigid Body Physics Engines - Simulates 3D rigid bodies, collisions, joints, and stacking in a dependency-free C library for game projects.
  • Game Physics Integration - Simulates rigid bodies, stacking, joints, and ragdolls in a 3D world so objects fall, collide, and come to rest.
  • Deterministic Record and Replay Frameworks - Records simulation operations and replays them later to reproduce and debug physics behavior deterministically.
  • Deterministic Physics Simulation - Produces identical simulation results across platforms and supports recording and replaying runs to reproduce and debug physics behavior.
  • Collision Detection - Detects collisions between spheres, capsules, hulls, meshes, and height fields using broad-phase culling followed by precise contact generation.
  • Rigid Body Solvers - Steps rigid body motion with a soft-step solver, handles fast movement continuously, and puts inactive body groups to sleep.
  • Physics Simulation Engines - Offers a dependency-free C physics library that games link in for collision handling, character movement, and ragdoll simulation.
  • Physics World Management - Creates a 3D physics world and steps its rigid-body simulation through a public C header interface.
  • Contact Event Systems - Reports when bodies begin or end touching and exposes contact forces so game logic can react to impacts.
  • Collision Filtering - Supports collision filtering rules that decide which shapes may interact so unwanted pairs are skipped.
  • Character Movement Controllers - Includes a character mover that slides player and creature bodies along level geometry while resolving collisions.
  • Character Movers - A character mover that slides player and creature bodies along level geometry while resolving collisions so they cannot pass through solid objects.
  • Continuous Collision Detection - Sweeps fast-moving bodies along their motion path so they cannot tunnel through thin geometry.
  • Cross-Platform Determinism - Includes determinism-verification scenes that replay recorded input to confirm simulation results stay identical across runs and platforms.
  • Kinematic Character Controllers - Provides a character mover that slides player and creature bodies along level geometry without passing through solid objects.
  • Large-Scale Multithreaded Simulation - Spreads solver work across worker threads via task callbacks and SIMD instructions so very large piles of bodies keep running smoothly.
  • 3D Collision Detection Frameworks - Ships a 3D collision system covering spheres, capsules, convex hulls, triangle meshes, and height fields, with continuous sweeps, sensors, and queries.
  • Composite Collision Shape Managers - Composes bodies from spheres, capsules, convex hulls, meshes, and height fields, with several shapes attached to one body.
  • Overlap Detection - Provides sensors that report shapes entering or leaving a volume without applying any collision response.
  • Mechanical Joint Constraints - Provides distance, revolute, prismatic, spherical, weld, wheel and motor joints that link bodies into articulated mechanisms.
  • Physics Solvers - Solves constraints with a data-oriented soft-step solver spread across worker threads and AVX2, SSE2, and NEON instructions.
  • Physics World Queries - Runs ray casts, shape casts and overlap tests against the world to find bodies along a path or inside a region.
  • Multi-Body Dynamics Simulators - Keeps large piles of bodies fast using data-oriented design, multithreading and SIMD in portable C code.
  • Parallel Solvers - Splits solver work across threads via a task scheduler and uses AVX2, SSE2 and NEON SIMD to process contacts in bulk.
  • Simulation Step Execution - Advances the world by a fixed time step using a sub-stepping constraint solver that trades sub-steps for accuracy.
  • Physics Simulation Threading - Spreads physics work across worker threads through task callbacks and a worker count, running single-threaded when none are provided.
6,751 stars·383 forks·C·MIT·5 views

Star history

Star history chart for erincatto/box3dStar history chart for erincatto/box3d

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Projects sharing features with Box3d

These projects share indexed features with Box3d. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • dimforge/rapierdimforge avatar

    dimforge/rapier

    5,471View on GitHub↗

    Rapier is a cross-platform physics engine and rigid body dynamics solver designed for 2D and 3D simulations. It functions as a collision detection system and a robotics simulation framework, providing a consistent API for calculating physical interactions across different environments. The engine distinguishes itself with specialized robotics capabilities, including a toolkit for importing URDF and STL models to control multibody chains. It supports precise mechanical movement through inverse kinematics calculations and the application of PID controllers for dynamic body control. The simulat

    Rust
    View on GitHub↗5,471
  • schteppe/cannon.jsschteppe avatar

    schteppe/cannon.js

    4,979View on GitHub↗

    cannon.js is a JavaScript 3D physics engine designed for calculating rigid body dynamics and collisions in three-dimensional space. It functions as a rigid body dynamics engine that models mass, friction, and velocity to determine object movement, while providing a mathematical framework for applying physical constraints and joints. The engine supports a variety of collision volumes, including spheres, boxes, convex polyhedrons, heightfields for terrain simulation, and complex triangle meshes. It provides tools for identifying intersections between these shapes and calculating the exact areas

    JavaScript
    View on GitHub↗4,979
  • erincatto/box2derincatto avatar

    erincatto/box2d

    10,477View on GitHub↗

    Box2D is a 2D physics engine and rigid body simulator designed to compute collisions, forces, and joints in a two-dimensional plane. It functions as a collision detection library and a constraint-based physics solver that calculates the movement and interaction of solid objects using mass, friction, and restitution properties. The engine ensures consistency across different hardware architectures through a deterministic trigonometry implementation. It prevents high-speed objects from passing through boundaries using continuous collision detection and time-of-impact interpolation. The system

    C
    View on GitHub↗10,477
  • jrouwe/joltphysicsjrouwe avatar

    jrouwe/JoltPhysics

    12,237View on GitHub↗

    JoltPhysics is a high-performance C++ physics engine designed for multi-threaded simulation of 3D rigid bodies and soft bodies. It serves as a deterministic simulation framework, ensuring identical results across different platforms and architectures to support networked synchronization. The engine distinguishes itself through a focus on concurrent execution across multiple CPU cores to handle large numbers of active bodies. It provides specialized systems for vehicle physics, including wheeled and tracked models, as well as soft body physics for deformable objects and cloth. The simulation

    C++c-plus-pluscppgame-development
    View on GitHub↗12,237
Compare all 30 related projects→

Frequently asked questions

What does erincatto/box3d do?

Box3D is a dependency-free C library for 3D rigid body physics, intended for linking into game projects. It simulates rigid bodies, stacking, joints, and ragdolls inside a physics world that is stepped with a fixed time step, so objects fall, collide, and come to rest. Bodies can be static or dynamic, and the library reports their position and rotation and notifies the application when they move or fall asleep.

What are the main features of erincatto/box3d?

The main features of erincatto/box3d are: Rigid Body Dynamics, Rigid Body Physics Engines, Game Physics Integration, Deterministic Record and Replay Frameworks, Deterministic Physics Simulation, Collision Detection, Rigid Body Solvers, Physics Simulation Engines.

Which projects share features with erincatto/box3d?

Projects with overlapping indexed features include: dimforge/rapier — Rapier is a cross-platform physics engine and rigid body dynamics solver designed for 2D and 3D simulations. It… schteppe/cannon.js — cannon.js is a JavaScript 3D physics engine designed for calculating rigid body dynamics and collisions in… erincatto/box2d — Box2D is a 2D physics engine and rigid body simulator designed to compute collisions, forces, and joints in a… jrouwe/joltphysics — JoltPhysics is a high-performance C++ physics engine designed for multi-threaded simulation of 3D rigid bodies and… google-deepmind/mujoco_menagerie — mujoco_menagerie is a curated library of physical robot specifications and XML model definitions designed for… wellcaffeinated/physicsjs — PhysicsJS is a JavaScript physics engine and 2D rigid body simulator designed to calculate the collisions,…