Does each AI controller have its own instance of a brain component?

Hi all,

I’m working with the FAIMessage and FAIMessageObserver systems within the AI module and I’m trying to figure out how they can be utilized. I got the messaging to work within an Actor Component that I made. But when I register an observer and send a message, the messages are only being received from the component sending them. I know the brain component handles the messaging within the AI module. I thought that all AI shared a brain component, but now I’m thinking that all the AI have their own instance of a brain component. Is this correct? Is the AI messaging system meant to let AI talk to each other or let a specific AI’s components more easily talk among themselves? Am I using the the AI messaging system correctly or did I mess up?

This is all being done in C++, any help/insight would be appreciated!

1 Like

Yeah, I’m pretty sure. The BrainComponent is the base class to the behavior tree’s. And I believe that each AI gets its own instance of a behavior tree. If I’m wrong, please feel free to correct me

1 Like