I’m going through a tutorial where an AI enemy is moving around the map following following patrol points, and when the enemy sees the player character, it follows it.
I have no problem getting the Blueprints to work, I am just wondering what is the difference between putting majority of my blueprint inside the AIController vs the Character Blueprint?
I’ve seen books/tutorials that put most of the Blueprint logic of switching patrol points, setting Blackboard keys, etc inside the Character blueprint and only puts the Event Begin Play -> Run Behavior Tree node inside the controller and nothing more.
I’ve also seen UE documentation that does the opposite, putting most of the logic inside the AI Controller rather than the Character blueprint.
I’ve also chosen to put my Pawn Sensing component plus it’s associated blueprints inside my Character rather than the AI Controller but I know putting it in AI Controller works fine as well, but I want to know what is most proper.
So I’m confused.
Is it just a matter of taste? Or is there a logic for choosing one option over the other?
Hope I can get enlightened.