GAS Or animation blueprint?

Hello , i am still a beginner in unreal engine and this morning heard of GAS and i was thinking it’s a good replacement for animation blueprint ,is it a good practice to work with it in everything instead of animation blueprint or i need animation blueprint and keep gas only if i have ability ? for firing for exemple which case is better ?

Hello there @U92!

Welcome to UE! The thing is, animations and GAS are not replacements of each other. In fact, you use them both, working together to create a complex action.

Animations control how your character moves visually (think about state machines, transitions, etc, while GAS handles what the character does, logic wise (abilities, cooldowns, stamina, etc).

For a firing function, we can break it down like this:

  • Can the character fire now? That’s GAS
  • Spawn a bullet and apply damage? Also GAS
  • Playing the fire animation? Use an animation blueprint
  • Shot recoil, aim down sights? Also animations

In short, the idea is to use them together, not replace them. And as a topic to tackle, GAS can be quite daunting. I would recommend getting familiar with simple blueprints and animations first, then you can tackle the video course below:

Hope this helps, and good luck!