I’m trying to make the AI Controller for my enemy character and right now I’m working on making the enemy AI to move the enemy towards the player’s character. If I was using Blueprint, the node that I would want to use is “AI MoveTo”, but I’m using C++. What is the equivalent (or closest) function in C++? My guess is “AAIController::MoveTo”, but I’m not sure.
I’m also trying to use as much C++ as possible and avoid using Blueprint. It’s just for fun and learning.
Here is an image for reference of the Blueprint that I’m trying to replicate in C++:
By the way, I’m doing the Twinstick Shooter tutorial, except I’m trying to do it all in C++.
Any help would be greatly appreciated!