$ikautoplaylock: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
Note:The value for rotation is backwards from the position. To lock both of them, set the lock weights to "1 0"; to let both of them freely move, set them to "0 1" (which is pointless, don’t do the iklock in this case, but you get the idea).
Note:The command can take values beyond 0 and 1, but you shouldn't use it if you don't know what you're doing.
		
	
 (Deleted the previous nonsense and copied the description of iklock inputs from the $ikchain)  | 
				No edit summary  | 
				||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{This is a|name=$ikautoplaylock|QC command}} It automatically applies <code>iklock</code> to all [[$sequence|sequences]] with <code>autoplay</code> option. See [[$ikchain]].  | |||
== Syntax ==  | == Syntax ==  | ||
| Line 14: | Line 14: | ||
  '''$ikautoplaylock lfoot 1.0 0.1'''  |   '''$ikautoplaylock lfoot 1.0 0.1'''  | ||
__NOTOC__  | |||
Latest revision as of 20:13, 18 July 2025
$ikautoplaylock  is a   QC command  available in all 
 Source games. It automatically applies iklock to all sequences with autoplay option. See $ikchain.
Syntax
$ikautoplaylock (ikchain_name) <lock_position> <inherit_rotation>
ikchain_name: The name of the $ikchain that the rule will apply to.lock_position: the weight of the lock is a floating point value from 0.0 to 1.0. Sets how strongly the chain should maintain its position.inherit_rotation: the weight of rotation inheritance from the chain is a floating point value from 0.0 to 1.0. Sets how much the end of the chain should inherit its rotation.
Example
$ikautoplaylock rfoot 1.0 0.1 $ikautoplaylock lfoot 1.0 0.1