I want to make a cube(Kaapa) follow my player when it sense him but for some reason, my cube doesn’t want to move even with ‘Ai Move To’.
I have tried to debug the code with print and it does go trough the ‘Ai MoveTo’, it sense my player but it just doesn’t move the cube. Do i need to add other stuff to make this cube move ? It’s not a character but a pawn I have my NavMeshBoundsVolume enabled.
Hey @goobo,
I believe you need your destination to be your desired location, behind the Target Actor.
I’d suggest trying to get the location of the Players’ Actor and manipulating it as you see fit.
I hope this can help!
-Zen
If your cube doesn’t have a movement component then it can’t process any move to requests. Add a Floating Pawn Movement component and it should work. Although you should probably look into doing the same with a behavior tree, and instead of calling move to from your BP just set the target as a blackboard key and then in your behavior tree add a move to task towards that key