Ping-pong turns on the last key, and stepped rows hold the key they last passed (#112)

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
adminandClaude Opus 5 committed 2026-09-17 07:08:44 +02:00
1 parent f68941fa3a
commit cc14988338
7 files changed
+72 -22

No files matched your search

+1 -1
View File
@@ -59,7 +59,7 @@ export class AnimationSystem implements System {
} else if (player.playing && isHandleEnabled(entity)) player.time += dt;
const head = animationPlayheadAt(asset, player.time);
for (const b of bindings) {
const value = trackWriteAt(b.track, b.kind, head.frame, player.bases[b.base]);
const value = trackWriteAt(b.track, b.kind, head.frame, player.bases[b.base], head.reverse);
if (value !== undefined) b.write(value);
}
if (!head.finished) continue;