Hey there,
There is the case, that if you are running at high speed and stop the movement input, you dont stop instantly, but your velocity decreased to 0 and you still run several studs further after the input stopped.
How can I make the player stop instantly when the input stops, for pc and mobile players.
2 Likes
You might be able to anchor the humanoid root part for a second or so then unanchor it again.
2 Likes
I tried it and it still moves those few studs
1 Like
Paste into a server script:
game:GetService("Players").PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Char)
repeat task.wait() until (Char:FindFirstChild("Humanoid")) and (Char:FindFirstChild("HumanoidRootPart")) --// Waits for the Character to fully load
task.wait(1)
for i,v in pairs(Char:GetChildren()) do
if (v:IsA("BasePart")) then
v.CustomPhysicalProperties = PhysicalProperties.new(9e9, 0, 0)
end
end
end)
end)
I tried that, but it didnt work sadly.
Im achieving to get something like this: