Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/demindiro/godot_rapier3d
Godot bindings for the Rapier3D physics engine
https://github.com/demindiro/godot_rapier3d
engine godot godot-bindings
Last synced: about 2 months ago
JSON representation
Godot bindings for the Rapier3D physics engine
- Host: GitHub
- URL: https://github.com/demindiro/godot_rapier3d
- Owner: Demindiro
- License: mit
- Created: 2021-03-23T22:06:25.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-07-23T14:48:16.000Z (over 3 years ago)
- Last Synced: 2024-07-30T18:50:03.168Z (6 months ago)
- Topics: engine, godot, godot-bindings
- Language: Rust
- Homepage:
- Size: 1.44 MB
- Stars: 43
- Watchers: 5
- Forks: 2
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Godot bindings for the Rapier3D physics library
## How to use
There are two parts:* A Godot module which must be compiled with the engine. This is necessary to
communicate with the library through the PhysicsServer
* A library with the actual bindings## Linux:
- Run `module/generate.py` first
- Then, either make a symlink or copy the contents of `module` to the engine source `modules/pluggable_physics`
- Build the engine
- Build the library with the provided `Makefile` using `make`
- Set `3d/physics_engine` to `Custom`## Windows:
- Run `python module/generate.py`
- Copy `module/api.json` to `rapier3d/api.json`
- Then, either make a symlink or copy the contents of `module` to the engine source `modules/pluggable_physics`
- Build the engine
- Build the library following these steps:
- ensure `LIBCLANG_PATH` environment variable is set to llvm's bin folder containing `libclang.dll`
- `rustup default nightly-msvc`
- If you get an error try: `cargo update`
- run `build_win.bat`
- Set `3d/physics_engine` to `Custom`If you have difficulties, please contact me or open an issue.
# The editor may crash if you keep `3d/physics_engine` set to `Custom`. If it does, uncomment it in `project.godot`