animation-system

Animate skeletal meshes in Unreal Engine using C++ AnimInstance and Animation Blueprints.

1|Updated Sep 6, 2026
One-click install
npx skills add https://github.com/ziyarduc/Baran-bk-game --skill animation-system-ziyarduc
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: animation-system
Source: https://github.com/ziyarduc/Baran-bk-game/tree/main/.agents/skills/animation-system
Command: npx skills add https://github.com/ziyarduc/Baran-bk-game --skill animation-system-ziyarduc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Setting up character animation in Unreal Engine requires coordinating C++ AnimInstance classes, AnimGraph state machines, montages, and notifies across game and worker threads, which is error-prone without a clear architecture. ## Core Features & Use Cases - C++ AnimInstance Base Class: Compute locomotion variables (speed, direction, falling) in NativeThreadSafeUpdateAnimation and expose them to the AnimGraph via BlueprintReadOnly properties. - Montages & Anim Notifies: Play one-off actions like attacks and reloads with section control and completion delegates, and fire gameplay events at precise animation frames using custom UAnimNotify and UAnimNotifyState classes. - Modern 5.x Features: Integrate Motion Matching (Pose Search plugin), Motion Warping, linked anim layers for runtime animation set swapping, and inertialization for cheap blending. - Use Case: Build a third-person character locomotion system where a C++ AnimInstance drives a blend space state machine, while attack montages with weapon-trace notify states handle combat timing. ## Quick Start Ask the AI to set up a C++ UAnimInstance base class that computes speed and direction for a character locomotion state machine in Unreal Engine 5.

Frequently Asked Questions about animation-system

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up character locomotion animation in Unreal Engine 5?▼

Create a C++ UAnimInstance base class that computes variables like Speed and Direction in NativeThreadSafeUpdateAnimation, then build an AnimGraph with a state machine and blend space that reads those BlueprintReadOnly properties to produce the final pose.

How to play animation montages from C++ in Unreal Engine?▼

Call Montage_Play on the mesh's AnimInstance, or use the ACharacter PlayAnimMontage wrapper with an optional section name. Bind FOnMontageEnded via Montage_SetEndDelegate to know when the action finishes, and use Montage_JumpToSection for combo branching.

What is the difference between UAnimNotify and UAnimNotifyState?▼

UAnimNotify is a single point event, such as a footstep sound or projectile spawn at a bone socket. UAnimNotifyState spans a time range with NotifyBegin, NotifyTick, and NotifyEnd, making it suitable for weapon collision windows during a swing.

Why does my animation code crash with multithreaded animation update?▼

NativeThreadSafeUpdateAnimation runs on the anim worker thread, so any UWorld queries, object spawning, or non-thread-safe engine calls will crash. Cache all owner and component references in NativeInitializeAnimation on the game thread and only read them in the worker update.

Does Unreal Engine 5 support Motion Matching for locomotion?▼

Yes, the Pose Search plugin ships with UE 5.4+ and is production-ready. Enable it in the Plugins window, configure a UPoseSearchDatabase and schema, and add the Motion Matching node to your AnimGraph to replace hand-built state machines.

When should I use linked anim layers instead of separate Animation Blueprints?▼

Use LinkAnimClassLayers when you need to swap part of the AnimGraph at runtime, such as weapon-specific locomotion styles or character class variations. The linked AnimBP must implement the same UAnimLayerInterface as the parent graph.