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

    Function calculateEffectiveReach

    • Calculate effective reach based on limb length and stance.

      Korean: 유효 거리 계산 (Calculate Effective Reach)

      Computes the effective combat reach considering limb length and body positioning. Different techniques use different limbs and leverage different amounts of body extension.

      Parameters

      • limbLength: number

        Length of the limb in centimeters

      • extension: number = 1.0

        Percentage of full extension (0.0 to 1.0)

      Returns number

      Effective reach in centimeters

      // Full extension punch
      const punchReach = calculateEffectiveReach(75, 1.0); // 75cm

      // 70% extension kick (stable stance)
      const kickReach = calculateEffectiveReach(95, 0.7); // 66.5cm

      유효거리계산