Garry's Mod

Garry's Mod

2,015 ratings
Dynamic Height + Hull Fix
4
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Model
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
16.039 KB
11 Nov, 2022 @ 7:08pm
24 Nov @ 10:00am
11 Change Notes ( view )

Subscribe to download
Dynamic Height + Hull Fix

Description
Based on this mod
https://gtm.you1.cn/sharedfiles/filedetails/?id=1721367483

Dynamic Height + Hull Fix
Much like the original Dynamic Height mod, this mod will adjust your view offset for your player dependent on the player model you've chosen. Depending on the minimums and maximums you've set for your options, the eye attachment on your playemodel may be chosen to affect your height. Additionally, using your camera height, the hullbox of your player will also be adjusted to fit your playermodel.

With this in mind, there are other points to take into consideration:
1. Your camera height and hullbox height are clamped to prevent camera clipping when crouching or standing under surfaces.
2. If your model has an eye attachment, that is used for clamping hullbox values.
3. The height is adjusted so that the hull-box is nearly untouched when using default playermodels.
4. This is untested with very odd head proportions, or non-bipedal playermodels.
5. An option is given to allow this hull-box adjustment to affect NPCs.
6. This works with outfitter.

For more information, refer to the addon mentioned above.

Updates
2023-5-13 - Fixed Outfitter support?
2022-11-12 - Added Client-sided option to disable Camera and Hull adjustments.
2022-11-14 - Added recursive check to NPC creation in case of no model.
2022-11-15 - Added exclusion for zombie torsos
2022-11-18 - Reorganized code for correct function order. Excludes all zombies.
2022-11-21 - Added exclusion for VJBase.
Popular Discussions View All (6)
1
26 Nov @ 6:24am
The update to this addon broke it.
TABSkang
14
2
8 Nov @ 9:33am
I love mister beast
Judgement Kazzy
5
17 Nov @ 7:04am
Causes viewmodel to flicker with vmanip/tfa
♬♫~Joe Blaze~♫♬
215 Comments
Celesta Glacier 21 hours ago 
No matter what "PLAYER CROUCH CAM HEIGHT" debug say, my crouch camera always on same height. No matter if it's 13 of 33
DeadEyes63 26 Nov @ 8:05am 
absolutely hate the up and down movement. please fix or revert to previous patch
Solar 26 Nov @ 5:18am 
the camera tracks the head bone of the model, that explains the subtle up and down movement. its pretty annoying and looks janky yes
Plague Doctor 26 Nov @ 12:45am 
Please give the option to disable the subtle up and down movement
GoldBrick 25 Nov @ 1:33pm 
is the may 2023 version available on github somewhere?
Thing 25 Nov @ 7:40am 
alright, it didn't get fixed. please fix it i beg you
SomeoneMilkMan 24 Nov @ 5:11pm 
we all are begging you, please fix this awesome mod, we all are waiting, we all want it fixed, we want this mod to be usable again.
Thing 24 Nov @ 1:31pm 
I hope the update today fixed the issue. Sorry for being a bit too harsh on you, but i was frustrated.
The Add-On Checker 24 Nov @ 9:03am 
Sir, I like your add-on a lot and have used it for a long time, but there are some glitches I'm having (fixed since I disabled add-on)
1. I am clipping through ground and props instead of being correctly on a surface
2. I am experiencing model glitches and errors during third-person use
3. I am experiencing a strange clinging to the ground when I walk a certain direction or keybind
4. All the other bots on the map do not have this issue, but I have to no-clip to get above the ground.

Please take this as constructive criticism. I understand if there is nothing you can do at the time, but if there is, I hope you find the problems and use your gifts to fix them. Thanks a ton and God bless.
Thing 24 Nov @ 2:07am 
like i don't understand why you had to update it, it worked fine for everyone, now it's broken. Please either revert back, or just fix the issue with the current update that nobody knows what you added. ty