Garry's Mod Wiki

Revision Difference

Entity:GetCollisionBounds#515502

<function name="GetCollisionBounds" parent="Entity" type="classfunc">⤶ <description>⤶ Returns an entity's collision bounding box. In most cases, this will return the same bounding box as <page>Entity:GetModelBounds</page> unless the entity does not have a physics mesh or it has a <page>PhysObj</page> different from the default.⤶ ⤶ <bug issue="223">This can be out-of-sync between the client and server for weapons.</bug>⤶ </description>⤶ <realm>Shared</realm>⤶ <rets>⤶ <ret name="" type="Vector">The minimum vector of the collision bounds</ret>⤶ <ret name="" type="Vector">The maximum vector of the collision bounds</ret>⤶ </rets>⤶ </function>⤶ ⤶