Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

What's the best way to add hit/hurtboxes to your animations?

$
0
0
I am making a 3d game with dozens of different attack animations (humanoid), and I am in the process of figuring out how to add exaggerated hurtboxes to these attacks. I'm thinking of adding an invisible HurtBox object to each attack animation using the following steps:

  1. Add an invisible, inactive GameObject called AttackHurtBox with a collider/rigidbody as a child to the player. This object also has a script that contains data such as attack damage, knockback, etc to transfer to...

What's the best way to add hit/hurtboxes to your animations?

Viewing all articles
Browse latest Browse all 1466670

Trending Articles