Character damage to different parts of the body (877178)

Can you please tell me how to implement the receipt of damage by the enemy when it hits a certain part of the body? For example, if it hits the head, the character takes damage, and if it hits the bulletproof vest, the character does not take damage. And it would be nice if the damage to the head was more than the damage, for example, to the legs. Thank you in advance.

P.S. - I beg your pardon, I don’t speak English well, I’m from Ukraine.

Steps to success:

  • identify and understand the basics of a single health element accepting damage in whatever context you want (bullets, arrows, fall damage, magic damage, etc.) Get that working. One player, one health bar, takes damage, can die.

  • rework your character to have multiple health “containers” on different parts of his body, probably connected to different colliders or different triggers.

  • use per-container scaling to cause damage applied to (for instance) your head to be larger than if applied to your leg.

  • finally have a single script aware of ALL health containers that knows when you kill you off.