From 21a596e471cbaa122e392112084ffbe3daefd4f7 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 6 Dec 2026 03:19:06 +0100 Subject: [PATCH] cut11b: bound arachnid stride envelope and stiffen quad hip tracking --- src/RustToDust.Ymir/WalkerLocomotion.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/RustToDust.Ymir/WalkerLocomotion.cs b/src/RustToDust.Ymir/WalkerLocomotion.cs index be7b5fc..15c566a 100644 --- a/src/RustToDust.Ymir/WalkerLocomotion.cs +++ b/src/RustToDust.Ymir/WalkerLocomotion.cs @@ -1708,7 +1708,7 @@ namespace RustToDust.Ymir float restRadial = MathF.Sqrt(rdx * rdx + rdz * rdz) * scale; if (restRadial > 0.25f * scale) { - maxStep = MathF.Min(maxStep, restRadial * 1.15f); + maxStep = MathF.Min(maxStep, restRadial * 0.92f); } } if (stepOffset.Length() > maxStep) @@ -2040,10 +2040,10 @@ namespace RustToDust.Ymir float subDt = dt * 0.25f; float limbI = MathF.Max(1f, mass * scale * scale * 0.025f); - float kpStance = limbI * (n == 4 ? 4600f : 5600f); - float kpSwing = limbI * (n == 4 ? 3600f : 4400f); - float kdStance = limbI * (2f * 0.85f * MathF.Sqrt(n == 4 ? 4600f : 5600f)); - float kdSwing = limbI * (2f * 0.85f * MathF.Sqrt(n == 4 ? 3600f : 4400f)); + float kpStance = limbI * (n == 4 ? 5200f : 5600f); + float kpSwing = limbI * (n == 4 ? 4600f : 4400f); + float kdStance = limbI * (2f * 0.85f * MathF.Sqrt(n == 4 ? 5200f : 5600f)); + float kdSwing = limbI * (2f * 0.85f * MathF.Sqrt(n == 4 ? 4600f : 4400f)); float tauLimitBase = limbI * 700f; float tauLimitAnkle = limbI * 650f;