Constructor

new(data:IkConstraintData, skeleton:Skeleton)

Variables

Methods

Static methods

staticapply1(bone:Bone, targetX:Float, targetY:Float, alpha:Float):Void

Adjusts the bone rotation so the tip is as close to the target position as possible. The target is specified in the world coordinate system.

staticapply2(parent:Bone, child:Bone, targetX:Float, targetY:Float, bendDir:Int, alpha:Float):Void

Adjusts the parent and child bone rotations so the tip of the child is as close to the target position as possible. The target is specified in the world coordinate system.

Parameters:

child

Any descendant bone of the parent.