diff --git a/src/RustToDust.Ymir/WalkerLocomotion.cs b/src/RustToDust.Ymir/WalkerLocomotion.cs index 6196ed5..d46f650 100644 --- a/src/RustToDust.Ymir/WalkerLocomotion.cs +++ b/src/RustToDust.Ymir/WalkerLocomotion.cs @@ -1715,7 +1715,8 @@ namespace RustToDust.Ymir float sz = ws.SwingStartSole[i].Z + (ws.SwingTargetSole[i].Z - ws.SwingStartSole[i].Z) * s; float syBase = ws.SwingStartSole[i].Y + (ws.SwingTargetSole[i].Y - ws.SwingStartSole[i].Y) * s; float stepDiff = MathF.Min(MathF.Abs(ws.SwingTargetSole[i].Y - ws.SwingStartSole[i].Y), 1.0f * scale); - float arcLift = (geom.SwingArcHeight * scale * 0.85f + 0.12f * stepDiff) * MathF.Pow(env, 1.40f); + float arcScale = n == 4 && !geom.IsArachnidUp ? 0.65f : 0.85f; + float arcLift = (geom.SwingArcHeight * scale * arcScale + 0.12f * stepDiff) * MathF.Pow(env, 1.40f); var underHit = SampleGroundAt(terrain, world, sx, sz, comPos.Y + 0.8f); float minGround = underHit.SurfaceY + 0.10f * scale * env; ws.FootSole[i] = new Vector3(sx, MathF.Max(syBase + arcLift, minGround), sz);