Garry's Mod Wiki

Entity:SetCollisionBounds

Entity:SetCollisionBounds( Vector mins, Vector maxs )

Description

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

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

Arguments

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.

Page Links


Special Pages


Wikis

?

Render Time: 35ms

Session 0
DB GetPage 2
Generate Html 10
SaveChanges 9
Render Body 0
Render Sidebar 11