I’ve been trying to ragdoll a skinned mesh but I haven’t found any way to do it. Help is appreciated!
4 Likes
The way I’ve done it is:
I made invisible parts that represent the limbs
and connected them with BallSocketConstraints.
And inside the loop I set WorldCFrame of all the bones to the CFrame of corresponding attachments.
2 Likes
I got a very weird result while doing this
3 Likes
I have no clue what’s going on here
2 Likes
Here are screenshots of the limbs folder and how the character with the limbs looks like.
local char = script.Parent
local root = char.PrimaryPart
while wait(0) do
root["ValveBiped.Bip01_Pelvis"].WorldCFrame = char.Limbs.torso.Attachment.WorldCFrame
root["ValveBiped.Bip01_Pelvis"]["ValveBiped.Bip01_R_Thigh"].WorldCFrame = char.Limbs.RLeg.Attachment.WorldCFrame
root["ValveBiped.Bip01_Pelvis"]["ValveBiped.Bip01_L_Thigh"].WorldCFrame = char.Limbs.LLeg.Attachment.WorldCFrame
root["ValveBiped.Bip01_Pelvis"]["ValveBiped.Bip01_R_Thigh"].WorldCFrame = char.Limbs.RLeg.Attachment.WorldCFrame
root["ValveBiped.Bip01_Pelvis"]["ValveBiped.Bip01_Spine"]["ValveBiped.Bip01_Spine1"]["ValveBiped.Bip01_Spine2"]["ValveBiped.Bip01_Spine4"]["ValveBiped.Bip01_L_Clavicle"]["ValveBiped.Bip01_L_UpperArm"].WorldCFrame = char.Limbs.Larm.Attachment.WorldCFrame
root["ValveBiped.Bip01_Pelvis"]["ValveBiped.Bip01_Spine"]["ValveBiped.Bip01_Spine1"]["ValveBiped.Bip01_Spine2"]["ValveBiped.Bip01_Spine4"]["ValveBiped.Bip01_R_Clavicle"]["ValveBiped.Bip01_R_UpperArm"].WorldCFrame = char.Limbs.Rarm.Attachment.WorldCFrame
end
Could this help?
2 Likes
Make the (BallSocketContraint) connections like this:
Torso > Arms
Torso > Legs
Torso > Head
4 Likes
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.