Download

My Enemy won't move, want to use behavior trees

Hello,
So I’m been trying to fix this for a couple of weeks.
I am working on a platformer,
I want an enemy to move back and forth, between 2 vectors.
I HAVE managed to assign these to blackboard variables.
So the actor knows where they should be moving, the proper ai controller is assigned to the character, and the behavior tree is being called.
The character is movable.
It just keeps bouncing from ai moveto and the root.

Any help would be greatly appreciated.





I know that MoveTo does not work for flying AI, I don’t know if that’s your case.
But I don’t have much experience with BT. I gave up to implement my AI after a few days of frustration (but I’m going to get back to it some time along the way).

I would really like to know how MoveTo works, I guess that checking the source code is an option…

I did find that the oldschool ai moveto does work when it is used in the level blueprint, it is simple but it does work.
I’m not sure if it is very efficient tho.