Player.SetHull
From GMod Wiki
Function | |
Syntax | Player:SetHull( Vector vMin, Vector vMax ) |
Description: | |
Sets the player's collision hull. | |
Returns: | nil |
In Object: | Player |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.SetHull]Player.SetHull [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Additional Notes
- The default vMin, vMax vectors are ( -16, -16, 0 ), ( 16, 16, 72 )
- 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).