Garry's Mod Wiki

Entity:SetSurroundingBounds

  Entity:SetSurroundingBounds( Vector min, Vector max )

Description

Sets the axis-aligned bounding box (AABB) for an entity's hitbox detection.

See also Entity:SetSurroundingBoundsType (mutually exclusive).

Arguments

1 Vector min
Minimum extent of the AABB relative to entity's position.
2 Vector max
Maximum extent of the AABB relative to entity's position.