Garry's Mod Wiki

Garry's Mod Wiki

  Entity:SetCollisionBounds( Vector mins, Vector maxs )

Description

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.

Arguments

1 Vector mins
The minimum vector of the bounds.
2 Vector maxs
The maximum vector of the bounds.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...