$root: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Reason for stub)
m (fixed spelling)
Line 1: Line 1:
{{stub}}
{{stub}}
<!-- The excact behaviuer should be explained, does this link othere roots to the specifyed bone? What happens to it's parents? -->
<!-- The exact behaviors should be explained, does this link other roots to the specified bone? What happens to it's parents? -->


Changes the hiracy so that the specifyed bone becomes the root. This command is usualy used to remove controler bones from the animation process.
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==
==Description==

Revision as of 20:09, 14 October 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"