math docs
    Preparing search index...

    Function backward

    • The backward pass: pins the base and pushes each bone outward from it.

      Basebone constraints and hinge reference-axis limits are applied here only - the forward pass skips the latter, because clamping on both degrades the solution.

      Parameters

      • chain: Chain3

        the chain to move, mutated in place

      • base: readonly [number, number, number]

        where the base should go, used only when chain.fixedBase is set

      Returns Chain3

      the chain