Skip to content

Bug: Model shrinking with procedural bones #1870

Description

@garrysmod2

Describe the bug

Originally reported to Gmod, however I am trying to spread this everywhere because this would be neat if it was fixed in any and all source games :)

I'm gonna pick bug instead of enhancement. As "FIXME" comments in the code makes me believe this is indeed something that was never fixed

Also, there is a chance you guys already fixed this, however due to the immense amount of issues, and me and my associate's Source Engine license still currently pending meaning I cant directly look at the code, I hope all's fine here, and I do apologize in advance if this is a duplicate issue

I'm making a ragdoll with heavy use of procedural bones with a .vrd, 43 triggers in there... and almost all of them cover 180 degrees, this is mostly besides the point, just know there's a lot of stuff going on there, and basically in most situations when the procedural stuff is in play in-game, it causes shrinking

A Blender addon that was made to facilitate the creation of these, https://github.com/NameIsJakob/srcprocbones, does not have this problem when using the real time preview feature, which confirms one thing for sure:

This is absolutely NOT related to shrinking like Blender's "preserve volume" (at least as far as I can understand it) obviously I wouldn't be reporting this as a bug otherwise as it would ruin a lot of existing models that use skeletons

To Reproduce

sample ragdoll.zip

Here's a sample ragdoll (The one I was making) where it can be observed
Do note it was complied for Gmod, those models do seem to work on Strata with my testing, on the extremely slim chance it doesn't, at least you know

Issue Map

Expected Behavior

Facepunch/garrysmod-issues#6999 (comment)
The code snippet that at least fixes it on Source SDK 2013 can be found here, I did poke at leaks and noticed in CSGO that file is noticeably smaller, but the functions seem to remain in there and it should be pretty much the same

Operating System

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugThis is a problem with something that should be working one way, but isn't.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions