Around a month ago i started making a ragdoll module for all rigs, which was easy at first glance. However, i gave up on it after failing with unragdolling. Now i have found a solution for this issue, but the new one appeared. When i ragdoll a character, the limbs move smooth on the ragdolled client, however it doesn’t look really good on other clients.
I have already tried calling ragdoll for each client instead of server but there was a client-server mismatch, and it looked horribly (the limbs acted strangely, ball socket constraints limits extended).
I have watched some videos about ragdoll, but all of them were about R6.
Some people told me to disable the RootJoint, however, i can’t even find it in the HumanoidRootPart
. When i use FindFirstChild
for it, it returns a rootjoint, but it doesn’t have the Enabled
property
Currently i’m stuck with working but pretty bad looking ragdoll.
2 Likes
still haven’t found the solution
1 Like
I’m pretty sure this is caused by network ownership. The only solution I can think about for this is to create the ragdoll on every client and not the server, however this will cause miss matching. You could try to remove the network ownership from the characters so it’s owned by the server, this might work.
2 Likes
Do you mean setting the HumanoidRootPart network owenrship of every player to the server?
1 Like
you can set it to nil, this makes it so the server has network ownership instead and I think physics update will be faster. I think you’ll have to continuously make sure it’s set to nil in case it automatically sets it to a player
1 Like
I tried it, and it didn’t make ragdoll smoother on clients. Except for the server side, it’s smooth on server and the ragdolled client. If npc is ragdolled, it’s smooth only on server
1 Like
nothing I can think about then. Try it in the roblox player just to make sure but i highly doubt it’ll make a difference
1 Like
Joined the game from roblox player, still laggy. I think i will check other modules and see how they work with r15
2 Likes
I think i have found the solution.
After disabling the Root
Motor6D in the LowerTorso, the ragdoll became smooth on all clients, even with npcs.
However, now i have to set a new camera for the ragdolled character, because when i disable the Root
Motor6D, character’s camera starts acting weird.
(I disabled the Root
Motor6D on server by the way. On client it causes LowerTorso to get stuck)
2 Likes