Hitbox

From Wikipedia, the free encyclopedia
Jump to: navigation, search

A hitbox is an invisible cuboid commonly used in video games for real-time collision detection. Each hitbox is attached to a bone within the object's animation skeleton and follows it around, ensuring that the hitbox set as a whole represents the visible object with reasonable accuracy.[1]

Hitboxes are are used to detect "one-way" collisions such as bullet impacts. They are unsuitable for the detection of collisions with feedback (e.g. bumping into a wall) due the difficulty experienced by both humans and AI in managing their ever-changing locations; these sorts of collisions are typically handled with much simpler axis-aligned bounding boxes.

[edit] References

  1. ^ "Hitbox". Valve Developer Community. Valve Corporation. http://developer.valvesoftware.com/wiki/Hitbox. Retrieved 18 September 2011. 
Personal tools
Namespaces

Variants
Actions
Navigation
Interaction
Toolbox
Print/export