
It looks like you're new here. If you want to get involved, click one of these buttons!
I am currently trying to make a game with enemy would detect the player or other enemy and will shoot bullets. From somewhere I came to know that this s known as NPC. But what is it and how to manage it.
Answers
An NPC is a Non Player Character, which is any character that you don't control yourself. NPCs will need to have a simple AI to function, which means that you will have to program the behaviour of the NPC. As for detecting players, this is often done through raycasting.