XaiJu
CodeLikeMe
CodeLikeMe

patreon


Unreal Engine Enemy NPC AI Behavior Tree - Throwing Grenades (ALS #38)

This is episode 38 of the third-person shooter series based on Unreal Advanced Locomotion System. We have already implemented a grenade-throwing mechanism that allows the player to throw grenades and kill enemies. Now let's implement grenade throwing ability for enemy AI characters. So, when the enemies are engaged in a fight, they will use grenades and throw them towards their enemies. This will further diversify the fight. We will implement the required interface functions and a grenade throw task that can be called from the AI behavior tree. Also, we will look into the math/physics behind how to calculate the required velocity of the grenade in order to reach the desired location.

CodeLikeMe Third-Person shooter series: https://www.youtube.com/playlist?list=PLKLABJGyKV-CmWAXXeuUTer0iI0kSG1W4

.

project files

https://www.patreon.com/posts/63654325

Unreal Engine Enemy NPC AI Behavior Tree - Throwing Grenades (ALS #38)

More Creators