Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

arena: widen reconcile dead zone + raise snap threshold

cam-doll (local) and pmove (server) use slightly different integrators
so they diverge by a small amount during sustained motion. The previous
0.05 dead zone / 0.75 snap threshold meant the 30Hz snap loop was
yanking the cam every frame against that physics-model jitter, making
forward movement feel choppy. Bump dead zone to 0.5 and snap threshold
to 2.0 (real teleports only); soften lerp from 0.2 to 0.05.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

+7 -3
+7 -3
system/public/aesthetic.computer/disks/arena.mjs
··· 44 44 const cmdOutbox = []; // last CMD_BACKUP cmds only (wire-level backup window) 45 45 46 46 // Soft reconciliation tuning. 47 - const RECONCILE_SNAP_THRESHOLD = 0.75; // > this = hard snap 48 - const RECONCILE_SOFT_K = 0.2; // lerp factor toward predicted/frame 49 - const RECONCILE_DEAD_ZONE = 0.05; // < this = ignore (no correction noise) 47 + // cam-doll (local) and pmove (server) use slightly different integrators, 48 + // so they diverge by a small amount during sustained motion. Keep the dead 49 + // zone wide enough to ignore that physics-model jitter — otherwise the 50 + // 30Hz snap loop yanks the cam every frame and forward movement feels choppy. 51 + const RECONCILE_SNAP_THRESHOLD = 2.0; // > this = hard snap (real teleport) 52 + const RECONCILE_SOFT_K = 0.05; // lerp factor toward predicted/frame 53 + const RECONCILE_DEAD_ZONE = 0.5; // < this = ignore (model-jitter noise) 50 54 51 55 // Arena world cfg — MUST match ARENA_CFG in session-server/arena-manager.mjs. 52 56 // Duplicated (not imported) because lib code shouldn't depend on server code.