Bounding box

From Valve Developer Community
Revision as of 09:02, 9 May 2008 by Beeswax (talk | contribs)
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

The Bounding Box is a simple, rectilinear box that should enclose all the Solid and Visible parts of a model; ie. both its Render geometry and Collision geometry.

  • Any geometry outside the Bounding Box (eg a Viewcone) will be regarded as NotSolid to Bullets, Line of Sight and Solid Objects.
  • It is used only for crude proximity tests so that no sophisticated (expensive) collision tests need to be performed against objects which do not enter the Bounding Box.
  • Confirm:The bounding box does rotate when the entity changes orientation: it is, like a hitbox, an Oriented-Bounding-Box, whereas NPC Hulls, etc do not rotate.

See Also