$root: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (fixed spelling)
mNo edit summary
Line 14: Line 14:
  '''$root "pelvis"'''
  '''$root "pelvis"'''
  $sequence "idle" "idle.smd"
  $sequence "idle" "idle.smd"
[[Category:QC Commands]]

Revision as of 18:26, 7 November 2007

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"