$hbox

From Valve Developer Community
Revision as of 18:25, 28 April 2008 by JeffLane (talk | contribs) ($hbox)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Creates a hit box around a bone. These hitboxes are used 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)