In this post I will create shooting functionality for weapons which will be easy to work with later.
- I want to have couple of ammo types, (plasma, conventional, dum etc) which can be upgraded later,
- Aiming should be physically accurate,
- There should be impact effects,
In this post I will focus on shooting and reloading functionalities. Goals that I want to achieve:
- I want to have easy method for shooting with different weapons such as the famous survival shotgun.
- If my weapon doesn’t have ammo it should reload automatically,
- I can reload my weapon whenever I want,
- I won’t be able to shoot if I’m changing weapon,
- Show some modifications with the upper parts for AR-15’s
In this post weapon won’t fire any projectile yet but you will learn more about blueprint communication, creating animations in blueprints and doing recoil directly in animation blueprint.