We have seen how an AI can perceive through a Sense, but how are the stimuli generated in the first place?
The AIStimuliSourceComponent
All Pawns are automatically detected
In the case of the Sight sense, by default, all the Pawns are already a stimuli source. In fact, later in this chapter, we will use the Player character, who will be detected by the AI without having an AIStimuliSourceComponent. In case you are interested in disabling this default behavior, you can do so by going into your project directory, and then going inside the Config folder. There, you will find a file named DefaultGame.ini, in which you can set a series of configuration variables. If you add the following two lines at the end of the file, Pawns...