I’m trying to make a blind AI monster. It has to sense player “smell” and then move to attack the player. It can also “hear” the player when he is close.
My question is how to implement “smell” perception for the AI, that successfully tracks where the player had been recently?
Currently I’m spawning SmellActors from player every 0.5 seconds with a life of 5 seconds. When the AI monster overlaps them, it moves to the next SmellActor location, it continues this until it reaches the player or cannot find another SmellActor for any reason. Hearing is implemented with Hearing_Perception component.
Is there a better way to do it? And how could I use EQS system for implementing the above system