Log inGet started
Package

clipImport.module

Newest version

README.md

clipImport

Makes traversalKit's climbing clips from clips the engine's animation generator (anim_gen) produced. Each generated clip is read with skeleton.clipToTable, its pelvis's net travel is taken out (traversalKit moves the body itself, so a clip that travelled would double the motion), a looping clip's last fifth is blended back into its first pose so the cycle has no seam, and the result is written as <name>.animation in traversalKit.package/anims, keeping that clip's folder and guid so every reference keeps working.

local CI = require("traversalKit.anims.clipImport")
local dur = CI.import("vault", "/zero/source/generated/climbAnims/vault_anims/a.animation", {
    loop = false, prompt = "running fast and speed vaulting over a waist-high wall ...",
    description = "One-shot speed vault at running pace over a waist-high wall.",
})

CI.inPlace(clip) and CI.loopSeam(clip, share?) work on any clip table on their own. Called by whoever regenerates the clip set; nothing calls it at runtime.