Lately, I had been trying to figure out how to make a decent hitbox system for my game. My inspiration is “Item Asylum”. What I had noticed is: The hitbox doesn’t move with the player, instead multiple are created and as well as I can understand, destroyed. That’s no the tricky part, the tricky part is: making it not damage the person who activated the ability / created the hitbox.
Or, do I just make it move with the character (which will probably a worse decision since exploiters can use that to their advantage.)