Revision Difference
Player:SetHullDuck#562812
<function name="SetHullDuck" parent="Player" type="classfunc">
<description>Sets the mins and maxs of the AABB of the players collision when ducked.⤶
⤶
See <page>Player:SetHull</page> for setting the hull while standing.
<note>Not replicated, need to be call on server and client.</note>⤶
</description>⤶
<description>⤶
Sets the size of the <page text="Player's">Player</page> [Axis-Aligned Bounding Box (AABB)](https://en.wikipedia.org/wiki/Minimum_bounding_box) used for physics and movement <page text="Hull Traces">util.TraceHull</page> while they are crouching (or "Ducking").
⤶
See also: <page>Player:GetHullDuck</page>, <page>Player:GetHull</page>, <page>Player:SetHull</page>⤶
⤶
<note>⤶
This value is **not** replicated automatically to clients and must be manually called in both the Server and Client <page text="Realms">States</page>.⤶
</note>⤶
</description>⤶
<realm>Shared</realm>
<args>
<arg name="hullMins" type="Vector">The min coordinates of the hull.</arg>⤶
<arg name="hullMaxs" type="Vector">The max coordinates of the hull.</arg>⤶
<arg name="mins" type="Vector">⤶
The hull mins, the lowest corner of the Player's bounding box while crouching.⤶
</arg>⤶
<arg name="maxs" type="Vector">⤶
The hull maxs, the highest corner of the Player's crouching bounding box, opposite of the mins.⤶
</arg>⤶
</args>
</function>