What would be the best way to make hitboxes for a fighting game?

I am making a anime fighting game, It will use swords, fists, ect. What I have a problem with is figuring out what I would use for hitboxes. Ive thought about overlap params, or raycasting. But I don’t think those would work well. Does anyone have any ideas?

raycast hitbox since it used by many popular pvp games

1 Like

You could just use magnitude and just use the dot product to check whether the player is in front of them to deal damage

1 Like

can you list some games so I can try them out and see how the raycast hitbox works?

the game i found so far that use raycast hitbox are kaiju paradise, combat warrior, a bizarre world: rewritten

1 Like

can you elaborate more please?

A great hitbox type you could use for AOE type moves is definitely overlap params and it’s super simple to plug into your code

1 Like