Garry's Mod Wiki



  Entity:SetCollisionBounds( Vector mins, Vector maxs )


Sets the collision bounds for the entity, which are used for triggers ( Entity:SetTrigger, ENTITY:Touch ), and collision ( If Entity:SetSolid set as SOLID_BBOX ).

Input bounds are relative to Entity:GetPos! See also Entity:SetCollisionBoundsWS.

Player collision bounds are reset every frame to player's Player:SetHull values.


1 Vector mins
The minimum vector of the bounds. The vector must be smaller than second argument on all axises.
2 Vector maxs
The maximum vector of the bounds. The vector must be bigger than first argument on all axises.

Special Pages



Render Time: 49ms

DB GetPage 26
Generate Html 7
SaveChanges (1) 8
Render Body 0
Render Sidebar 6