Garry's Mod Wiki

Entity:GetCollisionBounds

Vector, Vector Entity:GetCollisionBounds()

Description

Returns an entity's collision bounding box. In most cases, this will return the same bounding box as Entity:GetModelBounds unless the entity does not have a physics mesh or it has a PhysObj different from the default.

This can be out-of-sync between the client and server for weapons.

Issue Tracker: 223

Returns

1 Vector
The minimum vector of the collision bounds
2 Vector
The maximum vector of the collision bounds

Page Links


Special Pages


Wikis

?

Render Time: 78ms

DB GetPage 43
Generate Html 9
SaveChanges (1) 12
Render Body 0
Render Sidebar 12