godot-cubism
A Godot 3.4 binding for cubism-rs which itself is a binding for the native cubism sdk.
Usage
var factory = load("path_to_your_native_script").new()
var loader = factory.cubism_loader("path_to_the_model3")
Compiling for Windows
Follow the steps below. Tested with Rust stable 1.56
- Download the cubism native sdk
- Unzip the folder
- Copy the
Core/
folder into thethird-party/
directory - (Optional) Copy the
Samples/
folder into thethird-party/
directory - Run
cargo-build.sh
from the repo root. This will pass in the necessary environment variables for building
Compiling for Linux
Follow the Compiling for Windows steps. The TARGET
environment variable in cargo-build.sh
will need to be modified for your system.
License
This library is licensed under the Apache-2.0 license and the Live2D Open Software License