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

$lockbonelengths: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
($lockbonelengths)
 
No edit summary
Line 1: Line 1:
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. This is a very crude way to map one set of animations on to a different skeleton.
{{This is a|name=$lockbonelengths|QC command}} 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 ==
== Syntax ==

Revision as of 21:51, 15 July 2025

$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