[Resolved] Problem with AI Perception Update

RegularSquirrel
Wed, 23 Nov 2022 15:59:26 +0000
AI

Hello.

I’m trying to set up an AI perception system, using C++, but I’ve run into an issue.

I got the perception system running, when I enable debug I can see the ai perception is able to detect other actors, the problem that I’m facing is that the code that’s suppsed to run, when the perception detects something, doesn’t seem to want to run.
I have put a stimulus source on the other actors.

I have tried several different things I’ve found through google, with no luck.

I’ve attached images of the AIController’s constructor, where I set up the perception system.
The function I’m trying to call, when perception is updated,
And Where I set up the stimulus source, in the actor’s constructor.

Thanks in advance.

2 posts - 1 participant