Compatible With ScriptsCompatible With ExpressionsCompatible With The Command Line

 

double IK2D (object root, object end_effector, object goal, int alignment, int switch )

 

Return Value: 1.0 for success, 0.0 for failure

 

Arguments:

root item to act as the root of an IK chain
end_effector item to act as the end effector of an IK chain
goal item to act as the goal for the end effector
alignment switch to align the chain ( almost always should be 1 )
switch switch to turn the function on or off ( 1 = on, 0 = off )
 

This function allows you to create an IK chain using an expression rather than the interface. The advantage of using an expression based IK solution is that you have precise control over when IK gets calculated. If you use the interface to set up IK then your expressions can either calculate after all IK or before all IK. Using this function allows you to order the calculation of IK in the expression stack like it was any other function. This allows you to place expressions before and after individual IK definitions.

 

For more information on IK see General Info->IK (Inverse Kinematics)

Converted from CHM to HTML with chm2web Pro 2.82 (unicode)