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
- Run
module/generate.pyfirst - Then, either make a symlink or copy the contents of
moduleto the engine sourcemodules/pluggable_physics - Build the engine
- Build the library with the provided
Makefileusingmake - Set
3d/physics_enginetoCustom
- Run
python module/generate.py - Copy
module/api.jsontorapier3d/api.json - Then, either make a symlink or copy the contents of
moduleto the engine sourcemodules/pluggable_physics - Build the engine
- Build the library following these steps:
- ensure
LIBCLANG_PATHenvironment variable is set to llvm's bin folder containinglibclang.dll rustup default nightly-msvc- If you get an error try:
cargo update
- If you get an error try:
- run
build_win.bat
- ensure
- Set
3d/physics_enginetoCustom
If you have difficulties, please contact me or open an issue.