I’m working on a small fighting game with lot’s of melee moves, but i’m using a rather outdated technique: i have a bounding box on each character model, and if, during an attack animation, the attacking player’s bounding box gets over the enemy bounding box, i apply some damage to the enemy (also depending on the attack animation).
This is just basic collision. I wanted to know if there’s a more elegant way of writing a melee fight system, leveraging Unity’s physics engine and more advanced algorithms for handling damage and contact, without relying on bounding box collision.