$root

From Valve Developer Community
Revision as of 18:26, 7 November 2007 by Beeswax (talk | contribs)
Jump to navigation Jump to search

Stub

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

Changes the hierarchy so that the specified bone becomes the root. This command is usually used to remove controller 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"