easy5 pts · first answer countsvector-math
Is the enemy in front of the player
forward is the player normalised forward vector and toEnemy is the normalised vector from player to enemy. What does dot(forward, toEnemy) > 0 tell you?
Discussion 0
Join free to post in the discussion.