anim2rbx

Crates.ioanim2rbx
lib.rsanim2rbx
version0.1.0
created_at2025-07-16 11:48:03.620796+00
updated_at2025-07-16 11:48:03.620796+00
descriptionConvert animation files to Roblox KeyframeSequence format
homepage
repositoryhttps://github.com/jiwonz/anim2rbx
max_upload_size
id1755373
size106,110
(jiwonz)

documentation

README

anim2rbx

A Rust library and CLI tool for converting animation files to Roblox KeyframeSequence format.

Quick Start

CLI Usage

# Basic conversion
anim2rbx animation.fbx

# With options
anim2rbx animation.fbx -o output.rbxm --verbose

Library Usage

use anim2rbx::AnimationConverter;

let converter = AnimationConverter::default();
let kfs_dom = converter.convert_file_to_weakdom("animation.fbx")?;

Installation

via cargo

cargo install anim2rbx

Supported Formats

Supports many formats via Assimp including:

  • FBX (.fbx) - Recommended for animations
  • COLLADA (.dae) - Open standard
  • glTF (.gltf, .glb) - Modern format
  • 3ds Max (.3ds), Maya (.ma/.mb)
  • And many more

Configuration

let converter = AnimationConverter::new(true, 1e-5)
    .with_filter_identical_bones(false)
    .with_epsilon(0.001);

Options:

  • --verbose - Enable debug logging
  • --no-filter - Keep identical poses
  • --epsilon - Precision threshold

License

MIT

Commit count: 0

cargo fmt