Disable character switching to physics based movement

Sometimes seemingly out of nowhere the character falls over(?) and gets back up after a second. I need to find a way to disable this mechanic, or else it might cause frustration in players. In other games this might not be an issue but in this one it is both a platformer and the character has low weight (So it happens more often)

TL;DR

Character falls over sometimes. How do I disable this?

I thought it could be disabled by constantly disabling PlatformStand every frame (I know, inefficient in it of itself)

if Humanoid.PlatformStand == true then
	Humanoid.PlatformStand = false
end

Thanks in advance! (I may provide screenshots if needed)

2 Likes

You can disable a HumanoidState

localscript, only needed to be executed once

humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding, false)
1 Like

Tested it, and it still happens sometimes when I hit a ledge at a certain angle.

1 Like

Disable PlatformStanding and FallingDown:

humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding, false)
humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false)
2 Likes