Commit graph

3 commits

Author SHA1 Message Date
Erik
979802c49c feat(app): slow default fly speed and add Shift-boost
The user noted that the previous 35 u/s default felt too fast for
exploring scenery — overshooting buildings and skipping past entities
constantly. Drop default to 12 u/s (≈AC's run speed), and bind Shift
to a 50 u/s boost for fast travel between landblocks. Backwards
compatible: the new boost parameter on FlyCamera.Update has a default
of false, so any existing caller behaves the same.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 19:19:12 +02:00
Erik
e4a5b8a51a fix(app): scale order for live entities + FlyCamera speed tune (Phase 5c-fix)
User-reported visuals after Phase 5c ObjScale landed:
  - Nullified Statue is bigger but "distorted" and half-sunken into the
    foundry
  - WASD/Space/Ctrl camera speed too fast

Fixes:

1. Scale multiplication order. Phase 5c used `scaleMat * PartTransform`,
   which in C# row-vector Matrix4x4 semantics means "scale first (in
   mesh-local space), then apply PartTransform." For multi-part meshes
   where each part has an attachment translation, this scales the mesh
   but leaves the attachment offset un-scaled — so child parts drift
   relative to each other and the base anchor ends up below the ground.
   Offline scenery hydration has always used the opposite order:
   `PartTransform * scaleMat`, meaning "transform first, then scale the
   resulting position." Matching that order fixes both distortion and
   sinking in one change, and makes live entities consistent with
   scenery's proven path.

2. FlyCamera.MoveSpeed 100 → 35. 100 world units/sec is ~half a landblock
   per second at AC scale — fine for terrain-scouting but too aggressive
   for inspecting specific entities like the foundry statue. 35 is a
   little faster than walk pace and feels right for visual iteration.
2026-04-11 18:06:52 +02:00
Erik
7cf6ea267a feat(app): add FlyCamera with WASD + mouse look
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 20:25:19 +02:00