Garry's Mod Wiki

Entity:OBBCenter

  Vector Entity:OBBCenter()

Description

Returns the center of an entity's collision bounding box as a local vector.

See also Entity:GetCollisionBounds, Entity:OBBMins and Entity:OBBMaxs.

Returns

1 Vector
The center of an entity's bounding box relative to its Entity:GetPos.