Help with Getting Good BallSocketConstraint Properties

I’m currently attempting to create a realistic ragdoll system using R6, but I can’t get the ballsocketconstraint properties right. It usually simply ends with the character spazzing out on the ground, getting stuck, exploding, or just being extremely stiff.

Currently, I’ve settled on one that works decent but vibrates really oddly:

for i,parts in pairs(char:GetChildren()) do
	if parts:IsA("BasePart") == true and parts ~= torso and parts ~= root and parts.Name ~= "RedFlash" and parts.Name ~= "FlashHead" then
		if parts ~= head then
			local socket = Instance.new("BallSocketConstraint")
			socket.Parent = torso
			socket.Name = parts.Name.."Socket"
			socket.LimitsEnabled = true
			socket.UpperAngle = 80
			socket.Enabled = false
			socket.TwistLimitsEnabled = true
			socket.TwistLowerAngle = -90
			socket.TwistUpperAngle = 90
		else
			local socket = Instance.new("BallSocketConstraint")
			socket.Parent = torso
			socket.Name = parts.Name.."Socket"
			socket.LimitsEnabled = true
			socket.UpperAngle = 25
			socket.Enabled = false
			socket.TwistLimitsEnabled = true
			socket.TwistLowerAngle = -25
			socket.TwistUpperAngle = 25
		end
	end
end

If anyone could get me a good set of properties that doesn’t literally explode, I’d appreciate it very much.

2 Likes

I am looking for decent properties as well bro, can’t get my ragdoll right.

2 Likes