Three.js glTF és animáció
Önálló animációt ad a modellpéldányoknak, miközben a szándékosan közös geometria és textúra megmarad. Kezeli a megszakított betöltést, hogy egy karakter eltávolítása ne rontsa el a többieket.
threejs-gltf-animation
Nézd meg, miben segítMikor hasznos?
Akkor használd, ha modellmásolat közös csontváza vagy eltávolítása hibázik.
Miben segít neked?
- A telepített Three.js-verzióhoz illeszti a betöltőt és dekódert.
- Követi a közös geometriát, anyagot és példányhoz tartozó csontvázat.
- Kezeli az animációkeverést, gyorsítótárazott műveletet és megszakított betöltést.
Például ezt kérheted
Tölts be három glTF őrt állás-, járás- és támadásanimációval. Egyikük váltson támadásba, másikuk járjon, majd távolítsd el a támadót. A megmaradt csontvázak önállóan mozogjanak, a közös textúrák maradjanak meg, megszakított pótlás pedig ne hozzon létre kóbor őrt.
Részletes dokumentáció
Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.
Összecsukás
Three.js — gltf animation
Use when integrating Three.js glTF, skinned models, animation clips or compressed assets.
Version and project gate
Inspect Three.js revision, renderer/backend, addons import style, bundler, color-management conventions, animation loop owner, scene scale, glTF/decoder versions and existing physics wrapper. Never turn a task into an engine upgrade without the user’s intent. Read the version-matching official reference when an API decision depends on it.
Work
Pin loader/addon and decoder versions to the installed revision. Inventory shared geometry/material/skeleton ownership. Bind animation mixers to the intended instance, define clip transitions and cleanup cached actions. Keep loading errors and canceled scene ownership visible.
Deliver
An asset/animation contract and a model integration that survives independent instance removal. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.
Failure to prevent
A shallow clone of a skinned hierarchy may share skeleton state unexpectedly; an unloaded texture is not proof of disposed GPU resources.
Acceptance scenario
Animate two instances independently, remove one during a blend and reload the scene after a failed model request. Follow the project’s execution and verification permissions. If execution or a target device is unavailable, provide the reproduction steps and name the remaining uncertainty; do not mark it passed.
Scope and sources
This skill belongs to Vex. Agent selection is restricted by Orqestria’s assigned-agent policy, including forced skill selection; instruction text alone is not an access control. These are original task workflows researched from official documentation, not a copied or endorsed vendor skill.
Task-specific official references
Csomagban lévő fájlok 1
SKILL.md
