Files
sunrise/docs/superpowers/plans/2026-11-02-sheep-walk.md

1.1 KiB

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.

  • Update existing character checks for gradual start/stop, torso/head motion, and authored rest restoration.
  • Add preview gait constants, damp walking weight, restore animated transforms per frame, and carry the coat around the torso pivot.
  • Run character/gear tests and production build; inspect visual output and review the diff.
  • 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.