So I’m working on this Wild West based game and want to add ragdolls when you are on fire, falling down the side of a cliff, etc… but still animate it; do you think that is possible?
E.g,. for the fire, the player will become ragdolled but their limbs will flail about and their torso will roll around on the floor, trying to put themselves out.
Please do let me know if you know if this is possible or have any suggestions for it.
to ragdoll the character with animations set the characters humanoid state to “Physics” and disable the humanoid state “Getting up”. This will ragdoll your character while being able to apply animations on it
local humanoid = Your_Characters_Humanoid::Humanoid
humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp,false)
humanoid:ChangeState(Enum.HumanoidStateType.Physics)