R15 / Rthro Ragdolls

u cud just remove the part that checks cahracter apreance

4 Likes

I have a problem where if you die and wait the ragdoll doesnt dissapear. And if you cant remove the ragdoll the game will lag. any fix so there is a time for when the ragdoll dissapears?

4 Likes

Did you read the post?

In addition, collision groups don’t help much here because you want to stop collisions between pairs of parts, not between all parts in a certain group. Moreover, with collision groups you need global state (i.e. you need to reserve one or multiple collision groups in the game), which seems more polluting/clumsy than using the constraints.

If you disable all character collision (even between parts of a player’s own character) then you can just leave the module as-is and it won’t affect anything. The few extra constraints won’t impact performance by any significant amount that you will be able to measure.

4 Likes

i have a question, i want to put the script in a game, how do i get rid of the sword an the bazooka thing without ruining the scripts?

4 Likes

NVM i did it on my own XD, i just deleted the starter pack on the regdoll script

4 Likes

Nice stuff.
Not sure if you still work on it but, I noticed small issues with ragdolls.

  • You might want to disable AutoRotate, since I can spin my ragdoll in First Person (if it’s my character).
  • I believe one of my ragdolls got up somehow. Not sure why. It was created after I died. You might want to enable PlatformSit?

Not much of a problem in a project I plan to use (Ragdolls will be a copy of player’s model), but some people might get confused.

6 Likes

Yeah I’ve been trying to figure out while the ragdolls float, but it only happens sometimes and I cant figure out why.

4 Likes

Currently, Humanoid state does not play well with network ownership transfers. Whenever it changes ownership, there is a chance that its enabled/disabled humanoid states will all be reset. And since there is no way to tell when ownership changes, the only way to prevent this is to loop through every ragdoll every frame to disable state, and do this from all clients+server since clients can’t query whether they own an assembly or not. Yuck.

I decided against fixing this for the performance implications & general hackiness of the workaround (i.e., it probably isn’t stable enough & you’ll still see this occasionally anyway). This is something Roblox will need to fix with Humanoids, among many other things…

I could possibly fix AutoRotate as well, but this is probably something that should be fixed in the character control scripts/Humanoids instead. The whole point of the Physics state is that the character is controlled by physics instead of the user, and currently Roblox does not honor this.

8 Likes

I’m having trouble using it with startercharacters, I assume it does not work with them but if it does I believe I broke it.

3 Likes

Aww, disregard my comment with startercharacters. Will you be fixing it?

4 Likes

Hello, I added your script into the default one and i’m having this freezing issue where the character becomes a statue.



Not sure if its a bug in your code or if I have something weird going on.

5 Likes

Are you planning on making an R6 compatible version of this?

3 Likes

He’s already answered this before, no he is not.

4 Likes

Sorry, I got it working, Rigging error on my part.

3 Likes

Would have been nice to know how to actually implement this without the use of bind keys or tools :confused:

ie

--[[
	This is a test file to demonstrate how ragdolls work. If you don't use
	this file, you need to manually apply the Ragdoll tag to humanoids that
	you want to ragdoll
--]]

Is mentioned, but no where does it show you how to actually do this or what you mean by it

4 Likes

By reading through the module you can see that the ragdoll is activated when the humanoid state is set to physics or died (you can add your own states too).

3 Likes

Hey there! I’ve been having a problem with your Ragdoll script! For some reason this bug happens where my R15 Character starts sliding on any part when I jump into it sometimes.

2 Likes

Can you post this as a bug in Engine Bugs? It’s likely the engine isn’t simulating the character correctly. It would also be interesting to see what this looks like from the server’s point of view.

5 Likes

I’ve been having the same issue as @Kabozhi , I was looking through devforum to see if anyone else has been having the same problem and I came across this;

Other than this weird bug, works pretty good.

2 Likes

Hey yeah I’d love to post it in Engine Bugs, but I’m not too informed on the details of why or how its happening, all I know is that its related to this Rag doll Script.

2 Likes