Announcement
Collapse
No announcement yet.
Blueprint Bot AI
Collapse
X
-
If you make a vector towards the player.
Take the look direction of the bot.
Normalize both, do a dot produkt.
You should now have a value between 1(forward) to -1(backward). if you ignore anything that is less /equal 0 you will ignore anything thats behind the bot.
It i remember correctly. The important part is that the vector is towards the player.
Comment