diff --git a/src/RustToDust.Ymir/WalkerLocomotion.cs b/src/RustToDust.Ymir/WalkerLocomotion.cs index fcb8ccf..b8d64c8 100644 --- a/src/RustToDust.Ymir/WalkerLocomotion.cs +++ b/src/RustToDust.Ymir/WalkerLocomotion.cs @@ -2112,7 +2112,7 @@ namespace RustToDust.Ymir float recoilTorque, float dt) { - float err = MatchRules.NormalizeAngle(target - theta); + float err = target - theta; float tau = Math.Clamp(kp * err - kd * omega, -tauMax, tauMax) + recoilTorque; omega += (tau / inertia) * dt; theta = Math.Clamp(theta + omega * dt, -3.08f, 3.08f);