Black Trigram (흑괘) - Korean Martial Arts Combat Simulator API - v0.7.0
    Preparing search index...

    Function createBone

    • Create a bone with default rest pose

      Helper function to create a bone with position, rotation, and scale. Sets up rest pose for animation blending.

      Parameters

      • name: string

        Unique bone identifier

      • parent: Bone | null

        Parent bone (null for root)

      • position: [number, number, number]

        Local position relative to parent [x, y, z]

      • length: number = 0.1

        Bone length for rendering

      Returns Bone

      Newly created bone

      뼈생성