Skip to content

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.

License

Notifications You must be signed in to change notification settings

appsinacup/godot-rapier-physics

Repository files navigation

Works on: Desktop, Mobile and Web

Godot Rapier Build

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 through rapier physics engine 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

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 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