Garry's Mod Wiki

Revision Difference

Entity:SetCollisionBounds#514758

<function name="SetCollisionBounds" parent="Entity" type="classfunc">⤶ <description>⤶ Sets the collision bounds for the entity, which are used for triggers ( <page>Entity:SetTrigger</page>, <page>ENTITY:Touch</page> ), determining if rendering is necessary clientside, and collision ( If <page>Entity:SetSolid</page> set as [SOLID_BBOX](/gmod/Enums/SOLID) ).⤶ ⤶ Input bounds are relative to <page>Entity:GetPos</page>! ⤶ See also <page>Entity:SetCollisionBoundsWS</page>.⤶ </description>⤶ <realm>Shared</realm>⤶ <args>⤶ <arg name="mins" type="Vector">The minimum vector of the bounds. The vector must be smaller than second argument on all axises.</arg>⤶ <arg name="maxs" type="Vector">The maximum vector of the bounds. The vector must be bigger than first argument on all axises.</arg>⤶ </args>⤶ </function>⤶ ⤶