Skip to content

jiwonz/anim2rbx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

via rokit

rokit add jiwonz/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

About

Convert animation files to Roblox KeyframeSequence format

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages