Garry's Mod Wiki

Garry's Mod Wiki

  Vector, Vector Entity:GetSurroundingBounds()

Description

Returns two vectors representing the minimum and maximum extent of the entity's axis-aligned bounding box for hitbox detection. In most cases, this will return the same bounding box as Entity:WorldSpaceAABB unless it was changed by Entity:SetSurroundingBounds or Entity:SetSurroundingBoundsType.

Returns

1 Vector
The minimum vector for the entity's bounding box in world space.
2 Vector
The maximum vector for the entity's bounding box in world space.

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...