This article's documentation is for anything that uses the Source engine. Click here for more information.

$lockbonelengths

From Valve Developer Community
Revision as of 21:25, 18 July 2025 by Equalizer5118 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

$lockbonelengths is a QC command available in all Source Source games. This is a very crude way to map one set of animations on to a different skeleton. Bone lengths as specified by the $definebone commands are used to override any bone animations in the source files. Animations are recomputed with the new bone lengths, and the IK chains are resolved so that they end up in the original 3D locations.

Syntax

$lockbonelengths