Garry's Mod Wiki

Entity:WorldSpaceAABB

Entity:WorldSpaceAABB

  Vector, Vector Entity:WorldSpaceAABB()

Description

Returns two vectors representing the minimum and maximum extent of the entity's bounding box.

Returns

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

Example

Prints Entity(1)'s maximum bounding box vector.

local min, max = Entity(1):WorldSpaceAABB() print( max )
Output: -496.828125 11730.426758 5189.393066

Special Pages


Wikis

?

Render Time: 20ms

DB GetPage 2
Generate Html 3
SaveChanges (1) 6
Render Body 0
Render Sidebar 7