- Creating and adding a new projectile animation for the player.
- Adding a new projectile animation state in our animation system.
- Writing a component that will run the new projectile animation.
With the animation state added and the animation added to the object, we now need some way of activating the animation when the player presses a specific key. We’ll create a component to do this. Create a new class called C_ProjectileAttack.