Garry's Mod Wiki

Entity:SetSurroundingBoundsType

  Entity:SetSurroundingBoundsType( number bounds )

Just Added

This was just added in the latest version (2022.08.12). It might only be available on the Dev Branch right now.

Description

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

See also Entity:SetSurroundingBounds (mutually exclusive).

Arguments

1 number bounds
Bounds type of the entity, see Enums/BOUNDS