https://github.com/appsinacup/godot-rapier-physics
Godot Rapier Physics – 2D and 3D physics engine for the Godot game engine. with better stability, performance, liquids, determinism, state serialization and no ghost collisions.
https://github.com/appsinacup/godot-rapier-physics
2d 3d godot godot-engine godot4 godotengine physics-engine physics-simulation rapier
Last synced: 19 days ago
JSON representation
Godot Rapier Physics – 2D and 3D physics engine for the Godot game engine. with better stability, performance, liquids, determinism, state serialization and no ghost collisions.
- Host: GitHub
- URL: https://github.com/appsinacup/godot-rapier-physics
- Owner: appsinacup
- License: mit
- Created: 2023-10-26T08:39:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-03T21:18:59.000Z (2 months ago)
- Last Synced: 2025-05-12T05:13:44.607Z (22 days ago)
- Topics: 2d, 3d, godot, godot-engine, godot4, godotengine, physics-engine, physics-simulation, rapier
- Language: Rust
- Homepage: https://godot.rapier.rs
- Size: 49.2 MB
- Stars: 550
- Watchers: 11
- Forks: 31
- Open Issues: 60
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-godot - godot-rapier-2d - A 2D [Rapier](https://github.com/dimforge/rapier) physics server for Godot (Godot 4.2). (Modules / 3D)
README
![]()
Works on: Desktop, Mobile and Web
![]()
![]()
Documentation | Changelog | Discord | Contributing | Architecture
-----
2D and 3D physics engine
for the Godot game engine.
with better stability, performance, liquids, determinism, state serialization and no ghost collisions.-----
Godot Rapier Physics is a **2D and 3D** physics drop-in replacement for the [Godot game engine](https://github.com/godotengine/godot) through [rapier](https://github.com/dimforge/rapier) physics engine [salva](https://github.com/dimforge/salva) fluids simulation library.
# Features
Stability|No Vibrations
-|-
|No Ghost Collisions|No CCD Issues
-|-
|Fluids 2D| Fluids 3D
-|-
|
**Serialization**|**Deserialization**
Save Physics State|Load Physics State
**Locally Deterministic**|***Optionally Cross Platform Deterministic**
Exact simulation every time (on same platform)|Exact simulation on multiple platforms
# Installation- Automatic (Recommended): Download the plugin from the official [Godot Asset Store](https://godotengine.org/asset-library/asset/2267) using the `AssetLib` tab in Godot:
- [Rapier Physics 2D - Fast Version with Parallel SIMD Solver](https://godotengine.org/asset-library/asset/2267)
- [Rapier Physics 2D - Slower Version with Cross Platform Deterministic](https://godotengine.org/asset-library/asset/2815)
- [Rapier Physics 3D - Fast Version with Parallel SIMD Solver](https://godotengine.org/asset-library/asset/3084)
- [Rapier Physics 3D - Slower Version with Cross Platform Deterministic](https://godotengine.org/asset-library/asset/3085)Note: For general use cases, use the **Faster Version**.
- Manual: Download the [latest github release](https://github.com/appsinacup/godot-rapier-physics/releases/latest) and move only the `addons` folder into your project `addons` folder.
After installing, go to `Advanced Settings` -> `Physics` -> `2D` or `3D`. Change `Physics Engine` to `Rapier2D` or `Rapier3D`.
# Implementation Progress
This plugin is still being developed. See the [Implementation Progress](https://godot.rapier.rs/docs/progress/) to get an idea of what status it is in and what features it has.
# Limitations
- Pin Softness is not supported
- Double builds are disabled for now (until salva supports double builds)
- No support for asymmetric collisions (eg. object 1 hitting object 2 but object 2 not hitting object 1). This is the exact check rapier does: `(A.layer & B.mask) != 0 || (B.layer & A.mask) != 0`