KneeConstraint
double KneeConstraint (object root, object goal, object end_effector, int flag )
Return Value: 1.0 for success, 0.0 for failure
Arguments:
root | root of a chain |
goal | item used to align the chain |
end_effector | end of the chain |
flag | always use 0 |
Aligns a chain so that it lays on the plane defined by the three objects. The function affects the root object's rotation. This function is very useful for animating the twist of a character's leg by moving goal from side to side.
Converted from CHM to HTML with chm2web Pro 2.82 (unicode) |