math docs
    Preparing search index...

    Function iterate

    • One full FABRIK iteration - forward then backward.

      Parameters

      • chain: Chain2

        the chain to move, mutated in place

      • target: readonly [number, number]

        where the end effector should go

      Returns number

      the distance from the effector to target afterwards