
It looks like you're new here. If you want to get involved, click one of these buttons!
Hello everybody I am making a game in which the enemies follow the player. They have guns and can shoot, but I want them to shoot only at the player and only when the player is too close to them (say 5 units). What code should I write (its a 3 D game) Please help me out since I am still a beginner.
Answers
Watch this video it should help.
https://www.youtube.com/watch?v=Htl7ysv10Qs