Im struggling to make the character stop sliding during walking. I want the character's movement to feel exact, so if I move in a direction, I don't want to accelerate, I just want to start at top speed. Anyone know how I can achieve this? (ping me if you respond, thank you for taking time to help me!)
I can do the braking easily with this in a run service script:
''' if moveDir.Magnitude <= 0.1 then
local hrpAV = hrp.AssemblyLinearVelocity
hrp.AssemblyLinearVelocity = Vector3.new(hrpAV.X, 0, hrpAV.Z)
end'''
But I don't know how to remove acceleration altogether.
Additionally due to my use of physics I don't just want to set the character's density or friction high as it causes major physics bugs later