From 82470af09fab2263e92e4ffe56bf8496cbc64b64 Mon Sep 17 00:00:00 2001 From: thecraftianman <64441307+thecraftianman@users.noreply.github.com> Date: Mon, 25 Nov 2024 22:23:07 -0500 Subject: [PATCH] Slight wheel torque output buff --- lua/entities/acf_gearbox/init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/entities/acf_gearbox/init.lua b/lua/entities/acf_gearbox/init.lua index d1d255b3..d9115c81 100644 --- a/lua/entities/acf_gearbox/init.lua +++ b/lua/entities/acf_gearbox/init.lua @@ -750,8 +750,9 @@ do -- Movement ----------------------------------------- if not Phys:IsMotionEnabled() then return end -- skipping entirely if its frozen local TorqueAxis = Phys:LocalToWorldVector(Link.Axis) + local TorqueMult = 2 -- NOTE: Arbitrary torque multiplier; we ought to have a better means of implementing this - Phys:ApplyTorqueCenter(TorqueAxis * Clamp(deg(-Torque * 1.5) * DeltaTime, -500000, 500000)) + Phys:ApplyTorqueCenter(TorqueAxis * Clamp(deg(-Torque * TorqueMult) * DeltaTime, -500000, 500000)) end function ENT:Calc(InputRPM, InputInertia)