$body
Jump to navigation
Jump to search
$body
is a QC command available in all Source games.
It is used to add a reference mesh to a model. Without at least one
$body
, $bodygroup, or $model, the model will be invisible.


Syntax
$body <name> <reference mesh SMD> [reverse] [scale <int>]
Example
$modelname "weapons/shell.mdl" $cdmaterials "models/weapons/" $body shell "shell_ref" $sequence idle "shell_idle"
See also
- Reference mesh
- $lod, for lowering detail at a distance
- $bodygroup, for managing toggleable meshes
- $model, for facial animation