fix(vagrant): walk anim speed 0.4 → 0.45 (user tuning)

Note re user observation 'hat sich die animationslänge durch negative
skalierung verändert': no, anim duration (0.8s) and play speed (the
dt multiplier) are independent of bone-state values. The full cycle
visually traverses scl=+1 → 0 → -1 → 0 → +1 over 0.8s × 1/0.45 ≈
1.78s effective. Previous 0.4 gave 2.0s — slightly slower than
desired walking cadence.
This commit is contained in:
Axel Meyer
2026-05-18 22:38:06 +02:00
parent b66c4ca4dd
commit cfd5d71546

View File

@@ -114,9 +114,9 @@ local function update_lower_anim(moving, move_x, move_y)
puppet.stop(state.player, "idle_lower") puppet.stop(state.player, "idle_lower")
puppet.stop(state.player, "idle") puppet.stop(state.player, "idle")
-- Slow walk to 0.4x substrate speed (user pref: still too fast at 0.5). -- Slow walk to 0.4x substrate speed (user pref: still too fast at 0.5).
puppet.play(state.player, anim_id, { loop = true, speed = 0.4 }) puppet.play(state.player, anim_id, { loop = true, speed = 0.45 })
if not puppet.is_playing(state.player, "walk_upper") then if not puppet.is_playing(state.player, "walk_upper") then
puppet.play(state.player, "walk_upper", { loop = true, speed = 0.4 }) puppet.play(state.player, "walk_upper", { loop = true, speed = 0.45 })
end end
state.walk_anim_current = anim_id state.walk_anim_current = anim_id
if CI_FRAME_PERF and ci_last_state ~= "walk" then if CI_FRAME_PERF and ci_last_state ~= "walk" then