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

    Function getAnimation

    • Get animation by name - unified lookup across all animation registries

      Preferred general-purpose lookup for gameplay systems that may pass either a concrete skeletal animation name or a technique animation ID.

      Searches ALL_ANIMATIONS which includes:

      • BASIC_ANIMATIONS (idle, walk, run, fall)
      • KICK_ANIMATIONS, PUNCH_ANIMATIONS, etc.
      • STANCE_ANIMATIONS, MOVEMENT_ANIMATIONS
      • ALL_ATTACK_ANIMATIONS (stance-specific attacks)

      Falls back to ANIMATION_ID_REGISTRY so technique IDs resolved from combat data can still retrieve aliased animations without dropping to generic jab/strike fallbacks.

      Parameters

      • name: string

        Animation name (e.g., "idle", "front_kick", "walk")

      Returns SkeletalAnimation | undefined

      Skeletal animation or undefined

      애니메이션가져오기