Elegant solution to play certain animations depending on what weapon a player is using?

This is how we did weapons for our project. We created a class BP and then made instances based on the weapon that is possessed. The class contains 1st,3rd, and weapon animations as well as sound effects and special effects like muzzle flash and bullet hit decals. More or less any thing the weapon needs as far as resources is handled by the class which the main character animation BP can cast to. This way an unlimited number of weapons can be added. The flip side if your actors are class based you can add the weapons directly to the character base.

1 Like