threejs-animation
>-
>-
ALWAYS use this skill when the user mentions:
AnimationMixer.update, AnimationAction play/pause/stop, crossfade, synchronized clipsAnimationClip from glTF or AnimationClipCreator, retargeting caveats at API levelCCDIKSolver / CCDIKHelper from addonsIMPORTANT: animation vs objects
SkinnedMesh/Skeleton attachment, bind pose—mesh side.Trigger phrases include:
gltf.animations or create with utilities / AnimationClipCreator.scene or rig root).mixer.clipAction(clip); configure loop mode (LoopOnce, LoopRepeat, LoopPingPong).Clock from core—documented under Core in docs index), call mixer.update(delta).weight, crossFadeTo, enabled flags; watch for additive vs full replacement semantics per docs.See examples/workflow-mixer-action.md.
| Docs section | Representative links | |--------------|----------------------| | Animation (index) | https://threejs.org/docs/#Animation | | Action | https://threejs.org/docs/AnimationAction.html | | Mixer | https://threejs.org/docs/AnimationMixer.html | | Clip | https://threejs.org/docs/AnimationClip.html | | Tracks | https://threejs.org/docs/KeyframeTrack.html |
More: references/official-sections.md.
mixer.update freezes animation; double update per frame speeds up.Behavior of AnimationMixer, tracks, and glTF animation import can change between three.js majors. Treat the Animation section of the docs index as authoritative for the user’s installed version; when upgrading, check the three.js repository release notes and migration notes for renamed properties or loader output.
When answering under this skill, prefer responses that:
AnimationMixer, AnimationAction, etc.) or addon (CCDIKSolver) from the official docs.https://threejs.org/docs/... link (e.g. AnimationAction).SkinnedMesh / skeleton via threejs-objects when deformation is involved.mixer.update(delta) and a stable time source (Clock) explicitly.English: animationmixer, animationaction, animationclip, keyframetrack, crossfade, skinning, propertybinding, three.js
中文: 动画混合、AnimationMixer、AnimationAction、关键帧、骨骼动画、剪辑、淡入淡出、three.js
确保开发环境已安装必要的依赖和工具。
根据项目需求进行基础配置。
按照示例代码实现核心功能。
运行测试确保功能正常。
完成开发后进行部署和监控。