Garry's Mod

Garry's Mod

Ragdoll Mover
fiend 18 Sep, 2021 @ 3:25am
Tool bugs out completely when trying to manipulate effect bones
Hi, just wanted to say I'm super excited about the tool getting effect support! But certain bones on effect models completely brick the tool when trying to rotate them.

The disk appears selected, but is glued to the cursor even with the model deleted. This seems to happen when there's another prop underneath the axis you aim at when selecting, which is the only way to comfortably use the tool in a map such as gm_black (which has a weird ground brush). Deleting the background prop allows deselecting the axis.

Prints this to the console:

[Ragdoll Mover] lua/entities/rgm_axis_disc/init.lua:53: bad argument #4 to 'WorldToLocal' (Angle expected, got nil) 1. WorldToLocal - [C]:-1 2. ProcessMovement - lua/entities/rgm_axis_disc/init.lua:53 3. Think - lua/weapons/gmod_tool/stools/ragdollmover.lua:460 4. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:161 (x...)

Thanks
< >
Showing 1-10 of 10 comments
PenolAkushari  [developer] 18 Sep, 2021 @ 3:38am 
does it happen on any effect, or some specific model on a specific bone?
fiend 18 Sep, 2021 @ 4:43am 
I've tried it with two human models, for one it's the pelvis, for the other it's one of the legs. Sometimes it does let me rotate them, but lags out at other angles
PenolAkushari  [developer] 18 Sep, 2021 @ 8:42am 
it doesn't happen on "normal" maps like construct? and oh boy steam notified me about new message just right now despite the fact that i did subscribe to the discussion.
fiend 18 Sep, 2021 @ 10:39am 
Quickly tested it out in flatgrass, seems to work normally there with or without a prop underneath
PenolAkushari  [developer] 18 Sep, 2021 @ 11:09am 
huh, maybe raytracing stuff it uses goes crazy if there are those entity brushes behind stuff for some reason. or perhaps something else, no idea what's happening with it there.
KairoMax 5 Oct, 2021 @ 7:45pm 
I am very annoyed by the Ragdoll mover that always showed the part of the mover but still doesn't show the movement arrows and sphere to actually move those parts.
W0JTEK 13 Oct, 2021 @ 6:30pm 
Thats happened to me once and never again.
PenolAkushari  [developer] 29 Oct, 2021 @ 4:19am 
think i found the actual reason for the error, probably would need to make failsaves for my failsaves to fix that. will get to it later, need to finish up some other stuffs at the moment.
PenolAkushari  [developer] 31 Oct, 2021 @ 11:04pm 
should be fixed now, sorry for being dumb - using concommands for storing and checking whether entity was changed probably wasn't the best of ideas, so when entities were switched it didn't see that, and so it didn't fire the function to reset BoneID to 0.

essentially the problem was that you happened to miss the gizmo and select an entity behind it, and if it was a physprop, those usually have 1 bone, whereas you just were at finger bone of a ragdoll or an effect. so the tool kept thinking it was at bone >1, which caused it to try to find it, but it didn't exist, and voila, error. shouldn't be the case anymore, feel free to check.

and also made it so once per left click it will EITHER grab a gizmo, or if it didn't hit a gizmo, select an entity, not both
fiend 1 Nov, 2021 @ 6:28am 
Thanks so much for taking the time to fix this! I'll try it out as soon as I can and will report back
< >
Showing 1-10 of 10 comments
Per page: 1530 50