math docs
    Preparing search index...

    Function iterate

    • One full FABRIK iteration - forward then backward. Often enough on its own for an unconstrained chain reaching a nearby target. use solve to iterate to a tolerance.

      Parameters

      • chain: Chain3

        the chain to move, mutated in place

      • target: readonly [number, number, number]

        where the end effector should go

      Returns number

      the distance from the effector to target afterwards