three-dart-animation
Installation
SKILL.md
three_dart Animation
Iron Law
Always call mixer.update(delta) inside the onAnimate callback — the AnimationMixer does not advance on its own, even when actions are playing.
Procedural Animation (Simple)
// In onAnimate callback — delta is seconds since last frame
void onAnimate(double delta) {
mesh.rotation.y += delta;
mesh.position.y = math.sin(clock.getElapsedTime()) * 0.5;
renderer.render(scene, camera);
}