High framerate causes swimming physics to enter hyperdrive

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:

  1. Create a baseplate.
  2. Set framerate cap to 240.
  3. Run the provided code in command bar.
  4. 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)
4 Likes

Hi, thanks for reporting this! The physics team is looking into why this is happening, we should have an update soon.

2 Likes