math docs
    Preparing search index...

    Function addConsecutiveBone

    • Appends a bone starting where the chain currently ends, running length along direction.

      Parameters

      • chain: Chain2

        the chain to append to, which must already have at least one bone

      • direction: readonly [number, number]

        the direction to extend in, assumed to be unit length

      • length: number

        the length of the new bone

      • joint: Joint2 = ...

        the bone's joint, or a fresh unconstrained one if omitted

      Returns Bone2

      the appended bone