I made a physical animation script(s) and i was wondering how i would pose the character in ragdoll
So it clones the players animations to a ragdoll and it works really well but i need a way for the player to go full ragdoll and still be able to play animations like on the ground.
i have tried platform standing and then playing animations but its not ragdoll at all. ive tried using constraints to position the limbs while ragdoll.
the actual player is invisible and its just a ragdoll over the player.
since the animation is still being played on the invisible player just detect whenever an animation is being played on the character an replicate to the ragdoll, you can do it with the character’s humanoid like this:
local Humanoid = --put the characters humanoid here
local RagdollHumanoid = --put the ragdoll humanoid here
Humanoid.AnimationPlayed:Connect(function(anim)
local RagAnim = RagdollHumanoid:LoadAnimation(anim)
RagAnim:Play()
end)
Well is there an alternative to platform stand because what i am trying to achieve is like a protection animation for when the player is falling or rolling down a hill. The humanoid root part stops the character from ragdolling realisticly on platform stand. Here is an example of what i mean: https://gyazo.com/abb54c21c845d72f1e62f3b059864942
theres also a things that happens if you are walking as a normal character and get hit hard enough you go into a kind of ragdoll state where animations play still its a little different from platform stand but if i could replicate that i think i could get it to work.