Overview | Videos | Documentation | Demos | Integrations | API | Support

Doc Home > How To > Detect Headshots

The Health component is able to identify between a hit on the regular collider versus a hit on a collider that is placed on a specific body part. This allows the character to take more damage when hit in the head.

Headshots can be detected by first adding a collider to the head GameObject:

This collider should be on the CharacterCollider layer with a kinematic Rigidbody:

The last step is to setup the Health component so it applies an extremely high multiplier when the character gets hit. This will effectively be a instant kill when the character gets hit in the head. Under Damage Multiplier Options the head is specified with a multiplier of 100:

Note that if you are using the Die ability you'll need to make sure you add the head collider to the "Ignore Colliders" list of the ability to prevent the head collider from being disabled.

<- Create a new Ability
Disable Input ->