I’m trying to make my own MoveTo task for the behavior tree using “move to actor”, but it ends before my bot reaches the goal. How can I make a good “MoveTo”?
The problem you’re experiencing is caused by misuse of MoveToActor’s out pin. It’s not a latent function and it’s finishing as soon as the request to move to actor is made. The way you have this set up results in finishing the task as soon as the request is made, and I not waiting for the actual move to finish.
Why do you need a custom move-to BT task?
Cheers,
–mieszko
I need my own “Move To” to implement an “Event receive Abort” in order to stop special animations and sounds. I tried to use blackboard but it doesn’t work as I expected.
You might want to try using AIMoveTo
BP node. This is a special, custom blueprint node that will trigger the OnSuccess
or OnFailure
output when the move is finished.
Yeah I’m using it, but now I have another problem.
I set target actor as a destination, but my bot doesn’t follow the actor, instead it goes to some old position of the target it should follow.
I’m sorry, It’s difficult to explain.
I’ve fixed it on Dec 30, but only recently it made it to the github repo. Anyway, it’s fixed
Is there a way to specify a custom filter using AIMoveTo function?
I need something like this, too, but also because I need to be able to move something smoothly without changing rotation values unless I want it to do so.