Uncapping framerate above 60 causes the swimming physics to become increasingly sensitive, resulting in an unplayable experience in many cases. This bug is most apparent when setting the humanoid state, but still occurs in terrain water to a far lesser extent.
Repro steps:
- Create a baseplate.
- Set framerate cap to 240.
- Run the provided code in command bar.
- Hold W and Spacebar.
local humanoid = game:GetService("Players").LocalPlayer.Character.Humanoid
humanoid:SetStateEnabled(Enum.HumanoidStateType.Running, false)
humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping, false)
humanoid:SetStateEnabled(Enum.HumanoidStateType.Freefall, false)
humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp, false)
humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false)
humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false)
humanoid:ChangeState(Enum.HumanoidStateType.Swimming)