Skip to content

appsinacup/godot-rapier-2d

Repository files navigation

Godot Rapier2D Build Chat on Discord

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

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 AssetLib tab in Godot.

  • Manual: Download the github release and move only the addons folder into your project addons folder.

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

A vibrant community for discussion, user support and showcases.