Python bindings for Kinoko
- cmake
- Python 3.8+
- python library for said version (e.g. libpython3-dev for ubuntu/debian). If you python, you most likely already have this as well
When cloning for the first time, grab all submodules first
git submodule update --init --recursive
Note: if you want to build the wheels or Release builds, only clang is supported. If you want to use gcc, specify -DCMAKE_BUILD_TYPE=Debug
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build
Physics engine only. Wheel builds currently do not support GUI visualization.
pip install .
Make sure the generated cpython library is in your python path and import pynoko. See example.py for a race replay example