Hello
I’ve setup an AI but the AiPerception never dissapear from the spot that player was detected, if player goes to the position that was detected AI will run towards him even if is not in range of detection.
Hello
I’ve setup an AI but the AiPerception never dissapear from the spot that player was detected, if player goes to the position that was detected AI will run towards him even if is not in range of detection.
Hey Napimel,
the issue is with Max Age being 0.0 – that means that you stimuli is never forgotten ( AI Perception | Unreal Engine Documentation) . So, you need to specify for how long you want your AI to remember about having seen the player.
Hope that helps.
Cheers
f
Hey Fraps, sadly i tried to put Max to 1 and still doesnt expire, keep counting or stay at 0 forever forgot to mention that in post.
Hi, you also set your AutoSuccessRange to 500, meaning at least that if the player stays closer than 500 units (5 meters) to the last spotted location, the AI will still see it.
Indeed. Try setting auto success to -1 (means no auto success) and see if that solves the issues.
Yes, worked as i wanted, i set auto success to -1 and Max Age to 3, now after 3 second Perception Ai Sight will expire and the AI wont come to the place where player was detected if is not detected again.
Thank you all for help