Revision Difference
Player:GetHull#562806
<function name="GetHull" parent="Player" type="classfunc">
<description>Returns the player's hull bounding box.</description>
<description>Returns the bounding box used for the players internal physics <page text="hull traces">util.TraceHull</page>.</description>
<realm>Shared</realm>
<rets>
<ret name="" type="Vector">The hull mins, which could be interpreted as the hull's bottom left corner.</ret>
<ret name="" type="Vector">The hull maxs, which could be interpreted as the hull's top right corner.</ret>
<ret name="" type="Vector">The hull mins, the lowest corner.</ret>
<ret name="" type="Vector">The hull maxs, the highest corner, opposite of mins.</ret>
</rets>
</function>
<example>
<description>Prints bases' size of the hull of all players.</description>
<code>
for _, ply in ipairs( player.GetAll() ) do
local mins, maxs= ply:GetHull()
local mins, maxs = ply:GetHull()
print(mins)
print(maxs)
end
</code>
<output>
```
-16.000000 -16.000000 0.000000
16.000000 16.000000 72.000000
```
</output>
</example>