1인칭: 요원 · 무기를 바꿔 다시 만들 때 눈 기준점을 팔 공간 좌표로 (이전 root 변환이 섞여 1.6m 밀리던 것) · 스파이크 설치 구간에 설치 동작(activate) 재생 (설치 시작 때 스파이크를 꺼내므로 꺼내기보다 먼저)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
EJClaw
2026-10-29 18:35:24 +09:00
parent 1fb8821663
commit 309974087b
2 changed files with 11 additions and 3 deletions

View File

@@ -624,6 +624,9 @@ export default function ReplayViewer({ m, replay, sync }: Props) {
const a = samplePlayer(tr, t, replay.sampleMs * 6);
const b = samplePlayer(tr, t - 200, replay.sampleMs * 6);
const moving = !!a && !!b && Math.hypot(a.x - b.x, a.y - b.y) > 30;
// 스파이크 설치 중 (이어지는 동작 Plant 구간)
let activateMs: number | null = null;
for (const [a0, a1, k] of animIx.actions[p]) if (k === 'Plant' && a0 <= t && t <= a1) activateMs = t - a0;
return {
kind,
zoom,
@@ -634,6 +637,7 @@ export default function ReplayViewer({ m, replay, sync }: Props) {
reloadMs,
ads: zoom > 0,
walkMs: moving ? t : null,
activateMs: kind === 'Spike' ? activateMs : null,
},
};
};