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(viewer): stop auto-playing first animation on model load
nirholas5bd0a435b309
diff --git a/public/discover/index.html b/public/my-agents/index.htmlsimilarity index 100%rename from public/discover/index.htmlrename to public/my-agents/index.htmldiff --git a/public/discover/discover.css b/public/my-agents/my-agents.csssimilarity index 100%rename from public/discover/discover.cssrename to public/my-agents/my-agents.cssdiff --git a/public/discover/discover.js b/public/my-agents/my-agents.jssimilarity index 100%rename from public/discover/discover.jsrename to public/my-agents/my-agents.jsdiff --git a/src/viewer.js b/src/viewer.jsindex f02266a93..548c6670a 100644--- a/src/viewer.js+++ b/src/viewer.js@@ -896,20 +896,14 @@ export class Viewer {// Render buttonsthis._renderAnimButtons();- // Load all animations in background+ // Load all animations in background. We deliberately do NOT auto-play+ // the first animation: external Mixamo-rigged FBX clips often retarget+ // imperfectly onto Ready Player Me / Avaturn avatars, which collapses+ // the rig and makes the model look "disappeared" on first load. Show+ // the authored pose instead and let the user pick an animation when+ // they want one.this.animationManager.loadAll().then(() => {this._renderAnimButtons();- // Auto-play the first animation if nothing is playing- if (!this.animationManager.currentName && defs.length > 0) {- const firstName = defs[0].name;- if (this.animationManager.isLoaded(firstName)) {- this.animationManager.play(firstName);- this._renderAnimButtons();- this.invalidate();- this._recomputeAnimating();- this._updateRenderLoop();- }- }});// Stop button