Garry's Mod Wiki

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: 36ms

DB GetPage 3
Generate Html 10
SaveChanges 11
Render Body 0
Render Sidebar 10