I’m trying to achieve a simple system that ragdolls the player once he dies.
I have already made it so the character doesn’t break, setting the property of BreakJointsOnDeath to false. However, i have little experience on building, so i don’t understand how joints, 6d motors and welds work.
I have already tried that script a long time ago, unfortunely, it doesn’t work on r6. I’ve tried everything. the only thing that happens is my character getting beheaded . poor doge.
R6 and R15 are slightly different in terms of their how they’re held together. This is why it doesn’t function correctly. Your best bet would likely be editing the one above since it has a good start. R6 is less complex than R15 and therefore shouldn’t be terribly hard to port over.
Thanks for the help, however, it seems your module handles too much things for me, and my game really doesn’t like it. Also, my game is strictly R6, and having R15 code makes everything more confusing, could you just explain me the things needed to do ragdoll, because if i understand that, i can make my own code. But thanks anyway.
It works on R6 and R15. All you have to do is fire Ragdoll:Activate(rig) and it will work. Also if I don’t get what you mean by your game doesn’t like it.
Yes, i noticed that, however, as i said, having code for something that doesn’t exist in the game is just more confusing to the other members that work at my game
There’s also the problem that my game uses a respawning system that for some reason get’s overrided by your module, and that breaks the credits sequence.