Any ideas on a TF2 melee system?

I’m new to ue4 but I’m using it to make a TF2 type of FPS.

After watching some TF2 gameplay (for educational and nostalgic reasons) I got to wondering how I could create a melee system similar to the Scout’s Bat or other weapons in game. :rolleyes:

My idea is to use a socket for the players melee weapon and set up an invisible cube around the melee weapon to act as a hit box, sending back signals as to whether or not the weapon hit another player when swung. What do you guys think? Is there a more efficient way of doing this?:slight_smile: