Player.SetHullDuck
From GMod Wiki
Function | |
Syntax | Player:SetHullDuck( Vector vMin, Vector vMax ) |
Description: | |
Sets the player's collision hull while ducking. | |
Returns: | nil |
In Object: | Player |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.SetHullDuck]Player.SetHullDuck [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Additional Notes
- The default vMin, vMax vectors are ( -16, -16, 0 ), ( 16, 16, 36 )
- There is a bug: after setting hull you must kill client (once), otherwise you'll experience some problems with physics collisions (hull will be incorrect, sometimes it won't even match the player's original hull).