Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

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

arena: allow camera rotation during orbit

Remove the cam.rotY lock during orbit. Now the camera can look around freely
while orbiting, but the player body stays stationary (thanks to playerFacing
decoupling). This gives true freelook around the player.

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

-5
-5
system/public/aesthetic.computer/disks/arena.mjs
··· 487 487 const cam = doll?.cam; 488 488 if (!cam) return; 489 489 490 - // If orbiting, undo camdoll's rotY change to keep player facing fixed direction 491 - if (orbiting) { 492 - cam.rotY = baseRotY; 493 - } 494 - 495 490 // Undo any orbit offset we applied last frame so it doesn't affect physics 496 491 cam.x -= appliedOrbitOffset[0]; 497 492 cam.z -= appliedOrbitOffset[1];