From 9db68c2c8a03a872e4b17e8a1a0e4aa7911e464b Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Fri, 4 Dec 2026 16:10:57 +0100 Subject: [PATCH] Stop adding spring lift above gravity when upward vel.Y > 3.5 m/s on crests --- src/RustToDust.Ymir/ArenaSession.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/RustToDust.Ymir/ArenaSession.cs b/src/RustToDust.Ymir/ArenaSession.cs index 2209032..607e462 100644 --- a/src/RustToDust.Ymir/ArenaSession.cs +++ b/src/RustToDust.Ymir/ArenaSession.cs @@ -664,8 +664,8 @@ namespace RustToDust.Ymir supportForce += supportDir * fCenter; } - // Cap total spring + bump-stop vertical acceleration at <= 65 m/s^2 so ridge impacts never catapult vehicles skyward - float maxSpringY = mass * 65f; + // Cap total spring + bump-stop vertical acceleration at <= 65 m/s^2 (and stop adding upward lift once vel.Y > 3.5 m/s) + float maxSpringY = vel.Y > 3.5f ? mass * 20f : mass * 65f; if (supportForce.Y > maxSpringY && supportForce.Y > 1e-4f) { supportForce *= maxSpringY / supportForce.Y;