Categories
Uncategorised

Post 7 – Melee Enemy Damage

Hello,

To branch off last week, this week shall look more in-depth into the how the enemy melee AI sends information to apply damage to the player.

Simply put, I’ve created a collision box much like what the player uses for their weapon, that sends an ‘apply damage’ message to the player and if the player receives this damage, they lose health.

A video to demonstrate this is as follows:

Thanks for reading!