Fighting Game Hit/Hurtbox and mecanim

Hi,

I’m currently working on a fighting game and I’m stucked on the hitcollision stuff.

What is the recommended way to adjust the hitbox(the green squares(in the pic below) that defines the areas where a character is vulnerable) and the hurtbox(red squares that wil damage the enemy)
to the current animation frame?

alt text

I guess I could create seperate meshes in Blender and change them during the animation
and use a Box Collider Trigger for them, which could be quite troublesome to manage if I’m using multiple boxes at once.

Do you have any suggestions?

Attache cube game objects with the render mesh disabled (makes them invisible). Then child them to your badguy. From here just use colliders/raycasting to see where the player hit the guy.