From 6b3d5da93a7e30153d6baf73f15e6da76984975f Mon Sep 17 00:00:00 2001 From: tfrere Date: Thu, 20 Aug 2026 14:46:57 +0200 Subject: [PATCH] fix: freeze chase-cam heading during rolls and kicks The trunk tumbles through a roll (and shakes during kicks), so the yaw extracted from its quaternion spins wildly and whipped the chase camera around. The chase now lazily latches the last healthy yaw and holds it for the whole one-shot; position/target easing still follows the trunk. No timers: both one-shots deterministically hand back to walk, where live yaw tracking resumes and the position lerp absorbs the small heading correction. Measured over a full roll: 180 deg trunk-yaw excursion, 0.2 deg camera azimuth swing. Cache-buster bumped to 28. Co-authored-by: Cursor --- index.html | 2 +- rl.js | 22 ++++++++++++++++++---- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index ece6a75..2adc0b2 100644 --- a/index.html +++ b/index.html @@ -476,7 +476,7 @@ appended: a plain src attribute can 401 when the browser blocks the *.static.hf.space auth cookie inside the hub iframe. -->