Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
Fix root-motion test to compare against verbatim baseline
nirholasfb17a134b1cb
diff --git a/tests/animation-retarget.test.js b/tests/animation-retarget.test.jsindex 995e50d72..f0052ebbb 100644--- a/tests/animation-retarget.test.js+++ b/tests/animation-retarget.test.js@@ -276,8 +276,10 @@ describe('root-motion correction', () => {const targetRest = canonicalRestMapFromObject(rig);const hpq = hipsParentWorldQuat(rig);const r = retargetClip(clip, map, { hipScale: 1, targetRest, hipsParentWorldQuat: hpq }).clip;+ const verbatim = retargetClip(clip, map, { hipScale: 1 }).clip; // no correction baselineconst pos = r.tracks.find((t) => t.name.endsWith('.position'));- expect(Array.from(pos.values)).toEqual([0, 1, 0, 0, 1.1, 0]);+ const posV = verbatim.tracks.find((t) => t.name.endsWith('.position'));+ expect(Array.from(pos.values)).toEqual(Array.from(posV.values));});});