Language:
Page Info
Skill Level:
Engine Version:

Using the OnHit Event

Choose your OS:

If you are creating a game that involves any kind of damage to a player, enemy, or object, chances are you will run into the situation where you need to determine if they were hit by something and if so, who hit them, where the impact point was, or other information regarding the hit detected. The OnHit Event will provide this information and much more when the collision occurs in which you can use the data to drive changes in your game be it affecting health, destroying an object, or other gameplay related actions.

Implementation Guides

ue4_icon.png

Using the OnHit Event in Blueprints

Using the OnHit Events to fracture a destructible mesh as well as applying impulse to move it.

Using the OnHit Events to fracture a destructible mesh as well as applying impulse to move it.