From cfd5d715466cfffe883cca0d7d3f1e5f8a0ec54a Mon Sep 17 00:00:00 2001 From: Axel Meyer Date: Mon, 18 May 2026 22:38:06 +0200 Subject: [PATCH] =?UTF-8?q?fix(vagrant):=20walk=20anim=20speed=200.4=20?= =?UTF-8?q?=E2=86=92=200.45=20(user=20tuning)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index d3b24eb..96eb82a 100644 --- a/init.lua +++ b/init.lua @@ -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") -- 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 - puppet.play(state.player, "walk_upper", { loop = true, speed = 0.4 }) + puppet.play(state.player, "walk_upper", { loop = true, speed = 0.45 }) end state.walk_anim_current = anim_id if CI_FRAME_PERF and ci_last_state ~= "walk" then