Ragdoll
Base class for ragdolls, meant to be used with binders. This class exports a Binder. While a humanoid is bound with this class, it is ragdolled.
tip
Initialize this whole system through RagdollService.
-- Be sure to do the service init on the client too
local ServiceBag = require("ServiceBag")
local Ragdoll = require("Ragdoll")
local serviceBag = ServiceBag.new()
serviceBag:GetService(require("RagdollService"))
serviceBag:Init()
serviceBag:Start()
-- Enable ragdoll
Ragdoll:Tag(humanoid)
-- Disable ragdoll
Ragdoll:Untag(humanoid)
Functions
new
Constructs a new Ragdoll. Should be done via Binder. See RagdollBindersServer.