godot-rapier-2d
godot-rapier-2d copied to clipboard
Godot Rapier 2D – C++ Godot GDExtension that integrates the Rapier 2D physics engine
A 2d rapier physics server for Godot Engine v4.2, implemented as a GDExtension. Also integrates with salva for 2d fluids.
Features
- Parallel support and SIMD build for better performance.
- Better physics stability.
- Fluids with surface tension, viscosity and elasticity.
- DISABLED 32 bits and 64 bits support.
- DISABLED Cross platform determinism.
Limitations
- SeparationRay2D missing issues/5
- Web exports not working issues/23
- Cross platform determinism isn't working issues/47
- Double build isn't working issues/61
Supported Platforms
- Windows (x86_64, x86_32)
- macOS (x86-64 + arm64 Universal)
- Linux (x86_64)
- Android (x86_64, arm64)
- iOS (arm64)
- DISABLED Web (wasm32)
Installation
-
Automatic (Recommended): Download the plugin from the official Godot Asset Store using the
AssetLibtab in Godot. -
Manual: Download the github release and move only the
addonsfolder into your projectaddonsfolder. -
Build it yourself. Read more about it in the contribute file.
After installing, go to Advanced Settings -> Physics -> 2D. Change Physics Engine to Rapier2D.
Samples
After installing the addon, the samples are in the samples/godot-rapier2d folder. In order to run them, you have to enable the physics engine for some extra features to work (eg. fluids) as described above.
Contribute
If you want to contribute, view CONTRIBUTE.md for more info.
Discord
A vibrant community for discussion, user support and showcases.