feat: add subtle full-body sheep walking motion

This commit is contained in:
2026-11-02 16:49:37 +09:00
parent 0a05c94ce1
commit 4b27a8c209
5 changed files with 103 additions and 11 deletions
@@ -0,0 +1,12 @@
# Sheep walk implementation plan
**Goal:** Apply the approved comparison-preview gait with strength 0.4 (the supplied slider position), then commit.
**Architecture:** Extend the existing procedural pose in `src/scene/sheep.ts`; keep tuning in `src/constants/character.ts`. Preserve gear grips and independent cloned rigs. No model or movement API changes.
**Tech stack:** TypeScript, Three.js, existing Node tests.
- [x] Update existing character checks for gradual start/stop, torso/head motion, and authored rest restoration.
- [x] Add preview gait constants, damp walking weight, restore animated transforms per frame, and carry the coat around the torso pivot.
- [x] Run character/gear tests and production build; inspect visual output and review the diff.
- [x] Commit only the related production changes, tests, and plan.
Validation: 142 tests passed, 1 skipped; production build passed. Browser rendering checked with and without rain gear and flashlight; no page errors. Review found the shared original torso position could influence cloned coats; a failing independence assertion reproduced it, and using the authored torso position fixed it.