World positions or nodes; length >= 2. Not modified.
World position the tip should reach. Not modified.
Optionaloptions: IKSolveOptions
Tolerance, iteration budget, optional per-joint limits.
Optionalout: Vector3[]
Positions to write; allocated when omitted.
Writes
chain's world positions intooutand solves FABRIK (Forward And Backward Reaching Inverse Kinematics) so the tip reachestarget.Each iteration pulls the tip onto the target and walks back to the root at the recorded bone lengths, then pins the root and walks forward again. Limits are applied on the forward pass, after each child is placed. An unreachable target leaves
converged: falseand the last iterate — the chain points at the target, stretched as far as the lengths allow.Allocation-free when
outis provided (see solveCCD). The solver does not retain nodes. No RNG.