Garry's Mod Wiki

Player:SetHullDuck

  Player:SetHullDuck( Vector mins, Vector maxs )

Description

Sets the size of the Player's Axis-Aligned Bounding Box (AABB) used for physics and movement Hull Traces while they are crouching (or "Ducking").

See also: Player:GetHullDuck, Player:GetHull, Player:SetHull

This value is not replicated automatically to clients and must be manually called in both the Server and Client Realms.

Arguments

1 Vector mins
The hull mins, the lowest corner of the Player's bounding box while crouching.
2 Vector maxs
The hull maxs, the highest corner of the Player's crouching bounding box, opposite of the mins.