Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

appsinacup/godot-rapier2d-old

 
 

Repository files navigation

Godot Rapier2D

Godot Rapier2D Build Chat on Discord

A 2d rapier physics server for Godot Engine, implemented as a GDExtension.

Limitations

  • One way direction missing(WIP)
  • Spring Joint missing(WIP)
  • Static Body Constant Speed or Conveyer Belt missing (WIP)
  • Shape scaling doesn't work (WIP)
  • Changing properties before they are added in world doesn't work (WIP)

Build Features

Float Precision

This plugin is built for both single and double precision builds.

Rapier Features

This package supports the following features of rapier (more on this here):

  • simd-stable: enables explicit SIMD optimizations using the wide crate. Has limited cross-platform support but can be used with a stable version of the Rust compiler.
  • enhanced-determinism: enables cross-platform determinism (assuming the rest of your code is also deterministic) across all 32-bit and 64-bit platforms that implements the IEEE 754-2008 standard strictly. This includes most modern processors as well as WASM targets.

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

After installing, go to Advanced Settings -> Physics -> 2D. Change Physics Engine to Rapier2D.

Roadmap

  • Cross Platform Determinism
  • Fix all other issues from Limitations.

A vibrant community for discussion, user support and showcases.

License

All code in this repository is provided under the MIT license. See LICENSE for more details and THIRDPARTY.txt for third-party licenses.

Releases

No releases published

Packages

No packages published

Languages

  • C++ 76.9%
  • Rust 21.1%
  • Other 2.0%