$root

From Valve Developer Community
Revision as of 19:59, 14 October 2007 by Wolf (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

Changes the hiracy so that the specifyed bone becomes the root. This command is usualy used to remove controler bones from the animation process.

Description

$root "bone-name"

Example

$modelname "npcs/dog.mdl"
$cdmaterials "models/npcs/"
$model "Dog" "dog.smd"
$root "pelvis"
$sequence "idle" "idle.smd"