Getting Started
About this plugin
Godot Rapier Physics is a Rust wrapper on top of the Rapier Lib written for Godot. Rapier is a set of 2D and 3D physics libraries written by Dimforge.
For a complete list of what features it has and what is worked on, read Feature List page.
Get started by installing the plugin and activate the new Physics Server installed.
What you'll need
- Godot version 4.7 or above.
- Rapier plugin from the Godot Asset Store.
Install the plugin from Asset Store
First create a new Godot Project. Next click on the Asset Store tab and search for the Rapier addon and click on the version you want.

Then click Download.

and Install.

If asked to restart, select yes.
Activate the Physics Engine
Go to Project -> Project Settings. Enable the Advanced Settings on the top right.
Then go to Physics/2D or Physics/3D. At the Physics Engine dropdown select the Rapier2D or Rapier3D physics engine.

Optionally, Install the plugin from GitHub Releases
You can also install the latest release from GitHub. These versions are usually newer than the Asset Store releases.
In order to install the latest release, simply go to the Godot Rapier Releases page and download the zip for your dimension (eg. godot-rapier-2d-single.zip). Make sure to click on the Assets dropdown to see the assets.

After downloading it, extract the zip and you will find an addons folder (with a godot-rapier2d folder inside it). Copy the addons folder into your godot project (where the project.godot file resides).
Optionally, Install the plugin from GitHub Latest Main
You can also install the latest main build from GitHub. These versions are usually newer than the GitHub releases, but less stable.
In order to install the latest main build, simply go to the Godot Rapier Main Actions Tab page, click the first green/passing build:

Scroll all the way down to the Artifacts section:

Note, there are a lot of assets for this build, as there are also intermediate assets. The only assets you should download are:
- godot-rapier-2d-single
- godot-rapier-3d-single
After downloading it, extract the zip and you will find an addons folder (with a godot-rapier2d folder inside it). Copy the addons folder into your godot project (where the project.godot file resides).
Web Settings
When exporting for web, you have to enable a few settings, otherwise the whole build will give an error. Go to Project -> Export... and enable both Extension Support and Thread Support:

Next, you can also enable the Runnable option and then click Run in browser:
