Hello, I am trying to recreate an active ragdoll system like the video below:
I tried using a server script to weld a rigs Humanoid Root Part to the characters Humanoid Root Part, using physics service to stop the rig from colliding with base parts in the workspace and the character and made the rig ragdolled using the code below:
local Socket = Instance.new("BallSocketConstraint")
local Attachment1 = Instance.new("Attachment")
local Attachment2 = Instance.new("Attachment")
Attachment1.Parent = Descendant.Part0
Attachment2.Parent = Descendant.Part1
Socket.Parent = Descendant.Parent
Socket.Attachment0 = Attachment1
Socket.Attachment1 = Attachment2
Attachment1.CFrame = Descendant.C0
Attachment2.CFrame = Descendant.C1
Socket.LimitsEnabled = true
Socket.TwistLimitsEnabled = true
Descendant.Enabled = false
(The code above was taken from a ragdoll death script)
The result would always be like this: (My obs is broken so I can’t send a vid of the result)
also the post that I got the video from said they only used scripting for the walk animation and that the rest was done with ropes, ballsockets, and position and orientation aligners.
If anybody could help that would be appreciated! Thanks in advance!