Using Enum.HumanoidStateType.Ragdoll

Hello,

I am currently re-doing some parts of my old ragdoll system and I’ve noticed that the Ragdoll HumanoidStateType (Enum.HumanoidStateType.Ragdoll) is marked as “Deprecated” on its documentation page.

I’ve seen some people on the Dev Forum say that HumanoidStateType.Physics should be used instead of HumanoidStateType.Ragdoll. Is there any difference between the two, besides the Humanoid being able to recover from HumanoidStateType.Ragdoll (which is the behavior I actually want)?

HumanoidStateType.Physics does not transition to another state automatically, meaning that you would need to set the states manually after setting the state to HumanoidStateType.Physics. It also does not apply any force on it’s own.

I got these info from here.
https://create.roblox.com/docs/reference/engine/enums/HumanoidStateType

1 Like