Developing unique combat animations for game characters

Our video game development company runs independent projects, jointly creates games with the client and provides additional operational services. Expertise of our team allows us to cover all gaming platforms and develop an amazing product that matches the customer’s vision and players preferences.
Showing 1 of 1 servicesAll 242 services
Developing unique combat animations for game characters
Complex
~7 business days
FAQ
Our competencies
What are the stages of Game Development?
Latest works
  • image_games_mortal_motors_495_0.webp
    Game development for Mortal Motors
    663
  • image_games_a_turnbased_strategy_game_set_in_a_fantasy_setting_with_fire_and_sword_603_0.webp
    A turn-based strategy game set in a fantasy setting, With Fire and Sword
    859
  • image_games_second_team_604_0.webp
    Game development for the company Second term
    490
  • image_games_phoenix_ii_606_0.webp
    3D animation - teaser for the game Phoenix 2.
    533

Developing Unique Combat Animations for Game Characters

In an RPG action game with four character classes, attack animations from Mixamo were taken and placed directly — punch, kick, sword swing. After a week of testing, the game designer wrote: "the attack feels empty." The problem is not the movement itself — the problem is that the animation does not read anticipation, there is no smear frame at the impact peak, no follow-through. The character simply moves a limb from point A to point B.

Combat animations are not a description of physical movement. They are communication of intent, force, and feedback through timing and secondary mechanics.

Principles That Separate Combat Animation from Motion Capture Data

Raw mocap of a heavy sword strike is physically correct, but in real time looks weak. The human eye in a game context expects exaggerated poses, clearly readable hitbox phases, and screen "weight."

Anticipation and windup. Before each strike — a preparatory movement in the opposite direction. Without it, the attack feels like teleportation. Windup duration varies: fast attacks — 3–6 frames at 30fps, heavy strikes — up to 15–20 frames. This directly affects gameplay: the longer the windup, the more "readable" the attack becomes for the opponent.

Smear frames and motion blur key. At the peak of movement speed — 1–2 frames of intentionally exaggerated pose with limb stretching. In Unity, this is implemented through additive blending with a separate smear clip on top of the base animation, or through ShaderGraph with velocity-based stretch at the mesh level. The second option is technically more accurate, but requires coordination with the render pipeline (URP/HDRP).

Follow-through and overlap. After the strike — continuation of movement beyond the contact point. The sword goes "deeper," the arm continues the arc. Cloth, hair, loose costume elements lag through physics simulation or manual secondary animation.

Hit pause. The game engine freezes the animation for 3–5 frames at the moment of contact — this creates a sense of "weight." In Unity, this is implemented through animator.speed = 0 for a given time via coroutine, synchronized with HitStopManager. The animation should be designed with this pause in mind: the pose at the moment of contact should be as expressive as possible.

Structure of a Combat Animation State

A typical attack clip is not simply "movement." In Animator Controller, each attack is divided into phases through Animation Events and parameter-driven transitions:

  • Startup frames — character is vulnerable, hitbox is inactive
  • Active frames — hitbox is enabled, this is the "window" for hitting
  • Recovery frames — animation completes, character cannot start the next action yet

This data is passed to CombatController through Animation Events, which enables/disables hitbox collider through Physics.IgnoreLayerCollision or through a separate HitboxManager with Enable/Disable calls. The problem arises when the animator and programmer work without synchronization by frame numbers — then the hitbox activates at the wrong moment, and the player does not understand why the attack "missed."

The combo system adds another layer: each attack must have a cancel window — a range of frames during which the next input switches state before recovery ends. This is set through HasExitTime = false + conditional trigger in Animator, and the animator should know these windows when creating animations — the recovery pose should allow smooth transition to the next anticipation.

Working With Weapons and Additive Layers

Combat animations for characters with weapons are conveniently built through Additive Animation Layer in Animator Controller. The base layer contains locomotion, the upper additive layer — weapon animations. This allows the character to attack while moving without needing to create separate versions of each attack for each locomotion state.

But there is a subtlety: additive layer works correctly only if the base layer animation and additive clip are made relative to the same reference pose. In Unity, an additive clip is created through Asset → Create → Animation → specify Source Take and Reference Pose clip. If this step is skipped — additive blending will add transforms from the wrong base, and the limb will go to the wrong position.

From Technical Requirements to Final Clip

For combat animations, technical requirements should contain: list of attacks by type (light, heavy, special, finisher), length of each clip in frames, combo chains with cancel windows specified, hitbox types (capsule, sphere, custom mesh collider).

Production: blocking key poses (anticipation, contact, follow-through) → approval with game designer → spline and polish → Animation Events placement → integration test in engine.

Content Type Timeline
One combo set (3–5 attacks + finisher) 5–10 days
Full combat set (attacks, dodges, parry) 3–6 weeks
With Combat System integration +1–2 weeks
Animations for multiple weapon types 4+ weeks

Cost — after analysis of technical requirements and references. Important: the more detailed the description of attack phases and combo system requirements, the more accurate the estimate.