Garry's Mod Wiki

Entity:GetModelBounds

Entity:GetModelBounds

Vector, Vector Entity:GetModelBounds()

Description

Returns the entity's model bounds. This is different than the collision bounds/hull. This is not scaled with Entity:SetModelScale, and will return the model's original, unmodified mins and maxs. This can be used to get world bounds.

Returns

1 Vector
The minimum vector of the bounds
2 Vector
The maximum vector of the bounds

Special Pages


Wikis

?

Render Time: 18ms

DB GetPage 2
Generate Html 3
SaveChanges (1) 5
Render Body 0
Render Sidebar 6