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

Latest commit

 

History

History
23 lines (18 loc) · 1.1 KB

README.md

File metadata and controls

23 lines (18 loc) · 1.1 KB

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

  1. Download the cubism native sdk
  2. Unzip the folder
  3. Copy the Core/ folder into the third-party/ directory
  4. (Optional) Copy the Samples/ folder into the third-party/ directory
  5. 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