Garry's Mod Wiki

Revision Difference

Player:SetHullDuck#562109

<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. <bug>If smaller than origin hull then on client the LocalPlayer velocity return Vector(0, 0, 0) when collide with something.</bug>⤶ </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> </args> </function>