$hbox

From Valve Developer Community
Jump to: navigation, 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)