$root: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
(Reason for stub)
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? -->


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

Revision as of 20:06, 14 October 2007

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"