Godot Rapier Physics is a powerful 2D and 3D drop in physics replacement for the Godot game engine, but it does so much more than that. In addition to replacing the in-built Godot physics as a GDExtension (available on the Asset Library), this open source framework also provides a full fluid simulation system. It is based on the Rust powered Rapier physics system.
Godot Rapier Physics describes itself as:
Fast and Stable
Supports SIMD (Single Instruction/Multiple Data) optimizations and parallelism to get the best performance, while offering better stability in simulations than Godot Physics.
Drop-in Replacement
1 to 1 Compatibility with Godot Physics. Everything is supported, from Rigidbodies, Areas, Shapes and Joints to Character Controller.
2D and 3D
Works on both 2D and 3D thanks to the Rapier and Salva libraries it uses internally.
Fluids
Simulate different fluids with different density and viscosity that interacts with other objects.
Serializable
Using Rust serde this plugin is able to save and load the whole state in binary or json.
Cross-platform deterministic
Cross-platform deterministic on all IEEE 754-2008 compliant 32- and 64-bits platforms.
Forever free and Open-Source
Built with a FOSS mindset, we aim to empower the Rust and Godot communities with an efficient physics simulation framework.
Key Links
Rapier Physics (Original Rust Library)
You can learn more about Godot Rapier Physics, including how to set it up, replace the Godot physics system and create a simple 2D fluid simulation in the video below.
