Hi I have this car chassis and I now I’m currently trying to make it have movement according to player input. I got some code from the default Roblox jeep and it lerps the velocity of the humanoidrootpart to achieve acceleration. I’m wondering, how could I change this to BodyVelocity and lerp it? Thanks
local velocity = humanoidRootPart.CFrame.lookVector * movement.Y * stats.Speed.Value
humanoidRootPart.Velocity = humanoidRootPart.Velocity:Lerp(velocity, 0.1)