Entity/GetCollisionBounds

From Garry's Mod
Jump to: navigation, search
 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.

BUG

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

Issue Tracker: #223

Returns

Vector

The minimum vector of the collision bounds

Returns

Vector

The maximum vector of the collision bounds
Personal tools
Navigation