Garry's Mod

Garry's Mod

Ragdoll Weight tool
14 Comments
SirTuxedoSteve 19 Feb @ 1:55pm 
you will go down in history
SirTuxedoSteve 19 Feb @ 1:55pm 
youve done gods work thank you for making this
PenolAkushari  [author] 20 Oct, 2024 @ 1:53am 
done, it grabs weight data when a phys prop or a ragdoll are spawned and the model wasn't cached, it takes about 0.1 seconds to do since models ain't possible to be read right as the entity is being spawned. probably could've used lower time to be right on the next tick, but we'll see how that works, shouldn't be troublesome for general use
PenolAkushari  [author] 19 Oct, 2024 @ 8:28pm 
perhaps it all could be cached in a table specific to ragdoll's model, wouldn't require to make a new entry for every new entity if its same model ones. if there's something affecting ragdoll spawns, could just read their data on any new ragdoll as they are spawned "just in case". gonna look into it today, thanks
CLuaRainBob 19 Oct, 2024 @ 5:05pm 
@PenolAkushari try to spawn a ragdoll at origin 0 0 0 Entity:Activate() then get default weight
remove after 1 frame
PenolAkushari  [author] 19 Oct, 2024 @ 9:01am 
i haven't found much ways to get default weight for physical parts of a ragdoll other than getting all of the weights and saving them in some table when a ragdoll is interacted with or spawned.

such method also may not work well if there's some other addon that may be altering weights before the tool would grab the "default" weight data, so i didn't really bother looking into that
IM_NoobPLS teach me 19 Oct, 2024 @ 8:56am 
Will there be any way I can revert the ragdoll's weight back? Ik the video says it doesn't, but will there be one?
CLuaRainBob 19 Apr, 2024 @ 6:36am 
check out my addon https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3221350573
it removes limit of ragdolls,so you can stretch ragdolls with physgun
PenolAkushari  [author] 26 Oct, 2023 @ 7:27am 
You probably would need to use physical properties stuff instead to control buoyancy
atlanticgamer89 26 Oct, 2023 @ 7:25am 
Why does it still make them float in water, how do you not make them float in water?
Tesser the Lombax 29 Nov, 2022 @ 7:35am 
YES! HELL YES! FUCKING FINALLY! Thank you!
Arkady 20 Nov, 2022 @ 11:57am 
legend:demoticon:
Smile-Zilla 14 Nov, 2022 @ 8:40pm 
10/10 Great Addon/Tool and its really helpful
TheFirstDecade 14 Nov, 2022 @ 1:46pm 
Well im getting this now to help fix the snap-back of bones. can't wait to use this to help improve character animation!