About this project
Jolt Physics is a multi-core friendly rigid body physics and collision detection library written in C++. It is suitable for games and VR applications, and has been used in commercial titles such as Horizon Forbidden West and Death Stranding 2: On the Beach.
The library emphasizes concurrent access to physics data outside the main simulation update, allowing background loading/unloading of bodies, parallel collision queries, and deterministic simulation. It supports a wide range of rigid body shapes (sphere, box, capsule, convex hull, mesh, terrain, etc.), constraints (fixed, point, hinge, slider, gear, pulley, 6DOF, etc.), motors, sensors, animated ragdolls, game characters, vehicles (wheeled, tracked, motorcycles), soft body simulation (cloth, soft balls, etc.), strand-based hair simulation on GPU, and water buoyancy.
It is written in C++17, depends only on the standard template library, and does not use RTTI or exceptions. It compiles with Visual Studio 2022+, Clang 16+, or GCC 12+. Supported platforms include Windows, Linux, FreeBSD, Android, macOS, iOS, MSYS2 MinGW64, WebAssembly (via a separate project), and Platform Blue (a game console).
The repository includes a HelloWorld example, a Samples application with many tests, a PerformanceTest, UnitTests, and a JoltViewer for visualizing recorded simulations. Bindings are available for C, C#, Java/Kotlin, JavaScript, Rust, Python, Zig, and Jai. It is integrated into Godot, Source Engine, and Unreal plugins.
The project is distributed under the MIT license. Contributions are welcome, with a contributor agreement required for non-trivial changes.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.