Hi,
I’m creating a simple AI and I’m thinking about multiplayer, I want the enemy to choose who to attack based on the distance.
What I thought is comparing the vector length and choosing the smallest one. But I’d like to be able to do this with 4 players.
Is there a simple way to compare 4 vectors in one pass?
Thank you.