$poseparameter: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
m (minor cleanup and info)  | 
				mNo edit summary  | 
				||
| Line 1: | Line 1: | ||
These are the same as "blend" parameters normally specified in   | These are the same as "blend" parameters normally specified in [[$sequence]], except that you can now explicitly declare their range instead of letting studiomdl try to figure it out. If <code>"loop"</code> is specified, the engine will wrap calculate values.  | ||
* <code>loop (range)</code> specifies that the inputs wrap at a specified value.  | * <code>loop (range)</code> specifies that the inputs wrap at a specified value.  | ||
Revision as of 14:14, 29 August 2008
These are the same as "blend" parameters normally specified in $sequence, except that you can now explicitly declare their range instead of letting studiomdl try to figure it out. If "loop" is specified, the engine will wrap calculate values.
loop (range)specifies that the inputs wrap at a specified value.wrapspecifies that values less than(min)wrap around to(max), and so on.
Syntax
$poseparameter (name) (min) (max) ["loop" (number)] ["wrap"]
Example
$poseparameter yaw -90 90 loop 360