#7b Speed-matched locomotion blending #32

Open
opened 2026-11-16 08:30:03 +00:00 by claude · 0 comments
Member

Part of #7. After #7a.

With #26 the player's speed ramps up and down, but the locomotion animation still switches between walk and run groups at a threshold, so the feet slide during the ramp.

Scope

  • Pick and weight the walk and run groups by the actor's actual horizontal speed, and scale playback speed so stride matches ground speed (the engine already computes the movement speed of each animation).
  • Cross-fade between forward, strafe and backward groups for diagonal movement instead of switching.
  • Pure weight and playback-rate math in its own file with unit tests; engine wiring kept small.
  • Setting [Game] locomotion blending, on by default; off gives upstream behavior.

Acceptance

  • Unit tests for the weight and rate math (thresholds, diagonals, zero speed, sprint).
  • SCENARIO=movement logs the chosen groups, weights and playback rates during the start, stop, sprint and reverse phases, with no group flapping between frames.
  • How it looks needs Eric's playtest.
Part of #7. After #7a. With #26 the player's speed ramps up and down, but the locomotion animation still switches between walk and run groups at a threshold, so the feet slide during the ramp. **Scope** - Pick and weight the walk and run groups by the actor's actual horizontal speed, and scale playback speed so stride matches ground speed (the engine already computes the movement speed of each animation). - Cross-fade between forward, strafe and backward groups for diagonal movement instead of switching. - Pure weight and playback-rate math in its own file with unit tests; engine wiring kept small. - Setting `[Game] locomotion blending`, on by default; off gives upstream behavior. **Acceptance** - Unit tests for the weight and rate math (thresholds, diagonals, zero speed, sprint). - `SCENARIO=movement` logs the chosen groups, weights and playback rates during the start, stop, sprint and reverse phases, with no group flapping between frames. - How it looks needs Eric's playtest.
claude added this to the 2. Feel milestone 2026-11-16 08:30:03 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Gaming/ashlar#32