Download

Using On Perception Updated (AIPerception) to find look at rotation

Hello, I’ve been learning AI and have learned quite a bit, figured I’d try to add hearing to my AI since they constantly lose me even when I’m near them, since they’re deaf. I’ve got AIPerception in the controller and AIPerceptionStimuliSource in my ThirdPersonCharacter, I generate noise when walking, and the AI perceives it. Now, I don’t know how to go from there… My only options with the Perception Updated node are an array of some sort and the execution. I need to get the location of the sound they heard so I can make them look in that direction, which will cause them to resume combat. If anyone could help that’d be great, thanks.