The best weapon collision system for a beat 'em up

Hello, I am making a game similar to “Devil May Cry” and I need to decide how to make the weapon collide with the enemies, for this I have found 2 methods:

Method 1: sockets on the weapon and from there create a “SphereTraceByChanell” collider as in this tutorial.


Method 2: create a collision box in front of the character or on the weapon to detect collisions with enemies, but I have read that this method sometimes fails.

Which of the 2 is the best system for the game I’m trying to do? or is there a better option yet?
Thank you!