What problem does it solve?
This Skill simplifies building, playing, and blending complex Three.js animations so developers can animate objects, characters, and morph targets without wrestling with low-level mixer and track management.
Core Features & Use Cases
- Keyframe and Track Authoring: Create AnimationClips from NumberKeyframeTrack, VectorKeyframeTrack, QuaternionKeyframeTrack, ColorKeyframeTrack, Boolean and String tracks.
- Skeletal and GLTF Playback: Load GLTF models, construct AnimationMixer instances, play named clips, and manipulate skeleton bones and attachments.
- Morph Targets & Blending: Drive morphTargetInfluences procedurally or via keyframes and blend multiple AnimationActions using weights, crossfades, additive layers, and loop modes.
- Procedural Motion & Performance: Common patterns (damping, springs, oscillation) and tips to optimize mixers, cache clips, and pause off-screen animations.
- Use Case: Seamlessly blend idle/walk/run animations on a GLTF character while animating facial morph targets and attaching props to bones.
Quick Start
Load a GLTF model, create an AnimationMixer for the model, play the desired clip by name, and call mixer.update(delta) every frame to advance the animation.