Garry's Mod Wiki

Revision Difference

Entity:GetModelBounds#528905

<function name="GetModelBounds" parent="Entity" type="classfunc"> <description>Returns the entity's model bounds. This is different than the collision bounds/hull. This is not scaled with <page>Entity:SetModelScale</page>, and will return the model's original, unmodified mins and maxs.</description> <description>Returns the entity's model bounds. This is different than the collision bounds/hull. This is not scaled with <page>Entity:SetModelScale</page>, and will return the model's original, unmodified mins and maxs. This can be used to get world bounds.</description> <realm>Shared</realm> <rets> <ret name="" type="Vector">The minimum vector of the bounds</ret> <ret name="" type="Vector">The maximum vector of the bounds</ret> </rets> </function>