Garry's Mod Wiki

PhysObj:GetAABB

  Vector or nil, Vector PhysObj:GetAABB()

Description

Returns the mins and max of the physics object Axis-Aligned Bounding Box.

Returns

1 Vector or nil
The minimum extents of the bounding box, or nil for runtime generated physics object.
2 Vector
The maximum extents of the bounding box.