Garry's Mod Wiki

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

Page Links


Special Pages


Wikis

?

Render Time: 34ms

DB GetPage 3
Generate Html 4
SaveChanges (1) 8
Render Body 0
Render Sidebar 17