Babylon.js-modellek betöltése
A textúrákkal és animációkkal együtt tölti be a 3D modelleket. Tisztázza, mit oszthatnak meg a példányok, és mi maradjon önálló a karakterek létrehozásakor vagy eltávolításakor.
babylonjs-gltf-assets
Nézd meg, miben segítMikor hasznos?
Akkor használd, ha glTF-modelleket importálsz vagy több objektum osztozik ugyanazon modellen.
Miben segít neked?
- Ellenőrzi a betöltőket, tömörítési függőségeket és külső forrásokat.
- Elkülöníti a példányokat, másolatokat és megosztott csontvázállapotot.
- Kezeli a megszakított betöltést és a hiányos objektumok takarítását.
Például ezt kérheted
Importálj glTF robotcsapatot járás- és támadásanimációval. Távolíts el egy robotot a többiek mozgása közben, majd próbálj hiányzó textúrát és megszakított második betöltést. Legyen érthető betöltési hiba, a már működő robotok pedig maradjanak épek.
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
Babylon.js — gltf assets
Use when loading Babylon models, animations, textures or streamed scene content.
Version and project gate
Inspect package.json and lockfile, Babylon package family and exact version, engine creation, WebGL/WebGPU choice, canvas hosting, loaders, physics plugin version and asset ownership. Keep Babylon Lite and the full engine APIs distinct. 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
Inventory the loader and compressed-asset dependencies already installed. Define asset-container ownership, instance versus clone needs, animation-group bindings and skeleton sharing. Handle failed or canceled loads without publishing a half-ready gameplay object. Keep external URLs and CORS requirements explicit.
Deliver
An asset import contract and a model integration with visible loading, failure and cleanup states. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.
Failure to prevent
Cloning transforms does not necessarily make materials, geometry or skeleton state independent.
Acceptance scenario
Load two instances, animate them separately where required, unload one and confirm the other remains intact. 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 Ziva. 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.
Csomagban lévő fájlok 1
SKILL.md
