Entity/SetCollisionBoundsWS

From Garry's Mod
Jump to: navigation, search
 Entity:SetCollisionBoundsWS( )

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 in world coordinates! See also Entity:SetCollisionBounds.

Arguments

Vector vec1

The first vector of the bounds.

Arguments

Vector vec2

The second vector of the bounds.
Personal tools
Navigation