AI MoveTo do nothing when custom destination specified

First of all, I want the pawn to move to the player character location but still floating above player’s character head. (The pawn is the flying enemy)
So I add 200 to z axis from current actor location like this

However, the outcome is that the pawn didn’t move at all. But if I didn’t modify the location value and directly feed to AI MoveTo, it works just fine. Seems like modify the vector value is the problem.

Any idea to achieve my goal? again… I just want the pawn to move to the player character location but still floating above player’s character head.

Please help and thank you!

For various reasons, navigation is commonly simplified to a 2D grid, or as is the case in UE4, a set of 2D grids. These 2D grids are commonly referred to as “NavMesh” and are automatically generated based on the physics environment (within the nav mesh bounds volume).

This, however, means that 3D navigation is inherently impossible. You can use things like stairs or terrain to change elevation but you can not have your AI move in free space. To view the nav mesh you can press “P” within the viewport.

The MoveTo node attempts to find a path within the acceptance radius (which is in your case 5 units). 200 units above the nav mesh is therefore not within the acceptance radius and no valid path can be found.

For floating characters, consider having it move on the floor but not collide with anything dynamic, while displaying the mesh 200 (or however many) units above that.