What problem does it solve?
This Skill helps you implement smooth, correct animation playback in Three.js, including keyframe clips, skeletal motion, morph targets, and reliable animation blending.
Core Features & Use Cases
- Keyframe Animation Clips: Create
AnimationClip instances with keyframe tracks for position, rotation (quaternion), color, visibility, and morph influence tracks.
- Animation Playback Control: Use
AnimationMixer and AnimationAction to play, pause, loop, fade in/out, crossfade, and fine-tune playback time and speed.
- Blending & Procedural Motion: Mix multiple clips (including additive layers) and combine authored animations with procedural/spring/sine-driven motion for dynamic effects.
- Use Case: Animate a loaded GLTF character by playing “Walk” and smoothly crossfading to “Idle” while also adding a subtle breathing additive animation.
Quick Start
Ask the AI to generate a Three.js animation setup that creates an AnimationMixer, plays a named GLTF animation clip, updates the mixer in the render loop, and crossfades to another clip when a state changes.