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

    Function applyPunchPhaseToConfig

    • Apply punch phase to a KeyframeConfig with Korean martial arts biomechanics and anatomy integration (hand poses, highlighting).

      Handles common punch phase bones: shoulder, elbow, wrist, spine, pelvis Now includes opposite arm hikite (당기기) and automatic hand pose/highlight

      Parameters

      • kf: KeyframeConfig

        KeyframeConfig to apply phase to

      • phase: PunchPhase

        Punch phase data from PUNCH_PHASES

      • hand: PunchSide = "right"

        Which hand is punching ("left" | "right")

      • options: {
            handHighlightMode?: HandHighlightMode;
            handPose?: string;
            includeOppositeArm?: boolean;
            includeSpineMiddle?: boolean;
            includeWrist?: boolean;
            oppositeHandPose?: string;
        } = {}

        Configuration including anatomy options

      Returns void

      // Apply extension with automatic fist pose and knuckle highlight
      applyPunchPhaseToConfig(kf, PUNCH_PHASES.EXTENSION, "right", {
      handPose: "fist",
      handHighlightMode: "knuckles",
      includeOppositeArm: true
      });

      KeyframeConfig에주먹단계적용