The system would work completely fine if it weren’t for the issue that no matter whether or not I am airborne when I dash or when I’m standing I seem to ragdoll quite a bit. I believe this is because I’m using linear velocity because I used body velocity and it worked better however I need linear velocity for more free movement during the dash so I’m wondering how I could fix this.
you can have free movement with body velocity if you continously set the velocity to, for example the humanoidrootpart look vector, with something like a while loop
I’d rather do the move direction so they have more control over the dash but that’s just me. Also body velocity makes you float in air if it’s active and they are in air.
local speed = 10 -- in studs
local dashtime = 5 -- secodns
local dashing = false
--and now when we want to dash
dashing = true
task.delay(dashtime, function()
dashing = false
end)
while dashing do
bodyVelocity.Velocity = humanoidrootpart.CFrame.LookVector * speed
task.wait()
end