Download

Moving AI to referenced actor or object via line trace

Hello everyone,

I have just got into Unreal and wanted to make an AI that chases the player if it notices a flashlight being on, I watched a few YT tutorials on AI, and decided on a line trace to a invisible object that the AI can hit if the Flashlight is on, but in testing it with simple actor objects, I think my blueprint is not working, can anyone tell me what I am missing here please? , as all I am trying to do is get the AI to line trace for a certain object/actor, in this case a static mesh (for the test), and then move towards that mesh/actor.

Hello,
What do you mean by not working? You seem to have ‘UsePathfinding’ enabled when calling the MoveTo function, do you have a NavMesh?