I’m using Unreal Engine 5.7.4. I’ve worked with Pawn Sensing before, but only for some basic guard-type AI.
My goal for my current project is to use AI Perception to create a zombie that can hear noises, investigate where they came from, remember a target’s last known location, and chase any actor with my Human Interface. Rather than using actor tags, I’d prefer to use a Blueprint Interface so that any actor implementing that interface can be detected and targeted, while actors that don’t implement it are ignored.
I’ve spent a lot of time trying to get this working with AI Perception, but I’ve had a pretty rough experience so far. I originally had sight working, but after making some changes it stopped. Since then, I’ve rebuilt the setup multiple times, including versions that only used sight, and I still couldn’t get any perception events to fire. On the occasions where I did get sight to trigger, hearing never got triggered.
At this point I’m basically back to square one because I ended up removing the whole code, behavior tree and all and starting over. I’m mostly looking for advice on how others would set up hearing, last known location, and detecting human actors through a Blueprint Interface rather than tags, and behavior tree setup.