Enable bone control for skinned glTF models. Call once, before loading the
assets you want to control. After loading, read container.skeletons and drive
bones with getBoneByName + the setBone* functions.
enableBoneControl(); // ← opt-in, before loadGltf constcharacter = awaitloadGltf(engine, "character.glb"); addToScene(scene, character); constskel = character.skeletons![0]; consthead = getBoneByName(skel, "Head"); if (head) setBoneVisible(skel, head, false); // hide the head + everything under it
Process-global and idempotent. Skinned scenes that never call this are
unaffected (near byte-identical to a build without bone control).
Enable bone control for skinned glTF models. Call once, before loading the assets you want to control. After loading, read
container.skeletonsand drive bones with getBoneByName + thesetBone*functions.Process-global and idempotent. Skinned scenes that never call this are unaffected (near byte-identical to a build without bone control).