$hbox

From Valve Developer Community
Revision as of 12:28, 21 November 2011 by Pichubolt090 (talk | contribs) (Missing preposition)
Jump to navigation Jump to search

Creates a hit box around a bone. These hitboxes are used by the AI for simple collisions, such as bullets.

Running studiomdl with the -h option will print out all of the autogenerated hitboxes.

If any hitboxes are defined this way, autohitbox generation is disabled.

Syntax

$hbox (group number) (bone name) (min x) (min y) (min z) (max x) (max y) (max z)