hello,
I have set up a basic AI that is supposed to move to an objective.
this AI is controlled by the AI Controller Class AIC_AI_Base:
In this controller class, I am running a behavior tree called BT_AI_Base:
this behavior tree is running an EQS query, setting my character’s movement speed to sprinting, and then calling the native “moveDirectlyTo” function, to move the AI to that point. My EQS Query is simple query that returns the nearest objective:
You can see this query working in this EQS test with a testing pawn:
When I run this AI, it seems to correctly identify the closest objective, it saves the correct location in the blackboard key “pointOfInterest”:
but the AI is not acutally moving. The “moveDirectlyTo” action is called, but seems to be considered as a success, and the AI starts over by calling the EQS query again. This then just loops over and over, without the AI actually moving.
I just started to play around with UE, I’m a total beginner - I’m sure I’m just missing something very obvious, but I can’t figure out what I’m doing wrong. I’d be super grateful for any advice!