#how do i make this stuttery movement stop

1 messages · Page 1 of 1 (latest)

versed grove
#

i am adding an impule to the players humanoidrootpart, but instead of being smooth, sometimes itll just stop moving after recieving an impulse

#
game.ReplicatedStorage.Remote.Event.ApplyForce.OnClientEvent:Connect(function(Amount:number) 
    local hrp = p.Character:FindFirstChild("HumanoidRootPart")
    hrp:ApplyImpulseAtPosition(hrp.CFrame.LookVector * Amount, hrp.Position)
end)
#

that is how i am applying the impulse

#

the amount is 1200

rotund kernel
#

game.ReplicatedStorage.Remote.Event.ApplyForce.OnClientEvent:Connect(function(amount: number)
local char = p.Character
if not char then return end

local hrp = char:FindFirstChild("HumanoidRootPart")
if not hrp then return end

local force = hrp.CFrame.LookVector * amount * hrp.AssemblyMass
hrp:ApplyImpulse(force)

end)

versed grove
#

wait maybe not

#

actually yea looks good

#

ty

tardy eagle
#

Fr