$body

From Valve Developer Community
Revision as of 07:00, 7 January 2009 by TomEdwards (talk | contribs)
Jump to navigation Jump to search

The QC command $body is used to add a reference mesh to a model. Without at least one $body the model will be invisible.

Models with facial animation should use $model instead.

Tip.pngTip:Multiple reference meshes can be handled with a $bodygroup.

Syntax

$body	<name> <reference mesh SMD>

Example

$modelname		"weapons/shell.mdl"
$cdmaterials		"models/weapons/"
$body		shell	"shell_ref.smd"
$sequence	idle	"shell_idle.smd"

See also

Template:Otherlang:en Template:Otherlang:en:ru