I’m working on some basic AI training, and I need to create a basic movement component with steering behaviors. I have basic steering, but I need it to work with pathfinding. While the “Move To” nodes partially work with the new component, it obviously does not take pathfinding into account. I’ve tried looking through the “Character Movement Component” how it uses pathfinding, but I came up short. I can’t progress with the steering behaviors until my barebones pawn is using NavMesh pathfinding.
So what’s the absolute minimum code required to have a barebones Pawn and Movement Component (inherited from Pawn Movement Component) use pathfinding? I can’t use Character because it’s way too complex and bloated for what I need to do. I couldn’t find any reference how a Movement Component takes pathfinding into account.