BT MoveDirectlyTowards does not work without NavMesh

This is on 4.12 Preview 2 (Launcher Version: 4.12.0-2962397+++UE4+Release-4.12), I tried to make a floating AI move around in 3D space using “Move Directly Towards” (which, according to the Tooltip, moves directly to the target without regard to any navigation system).

In practise, the Node fires, it takes some time to complete, but the Pawn does not move at all. As soon as a NavMesh is placed, the movement works correctly (which might be tricky in a freely floating space, but can be achieved with hidden planes).

To reproduce, create a new project, then create a new BP derived from either Pawn (which then needs a FloatingMovementComponent) or DefaultPawn (to get the component for free). Disable “Enable Gravity”, set Movement Capabilities to either “Can Swim” or “Can Fly”, then add a simple Behavior Tree that first picks a random point in space, then calls MoveDirectlyTowards on the selected point. “Project Goal Location” could be disabled, and for my case neither “Tracking Moving Goal” nor “Allow Partial Path” are required.

As is, this won’t do anything, the pawn won’t move. Place a NavMesh, and it suddenly works.


I have been able to reproduce your issue, and have entered a bug report, UE-30962. Thank you for your report.

Have a great day

I’m trying to create a air navigation in 4.18.2, so i must use MoveDirectlyTowards & without NavMesh.
And then I found this questions, this issue still same.
I now give up using vector and using actor.

See the issue on our public tracker for more information, as this is currently working as intended: Unreal Engine Issues and Bug Tracker (UE-30962)


I haven’t checked lately, but the tooltip should then be amended to not give the false impression that it does indeed work without a NavMesh.

Very annoying and hard to find so many years later! This is still not updated today in 4.22

I agree. If something moves “without regard to” something, then it should work…without it. There is an error in the tool tip.

I was also prompted to cheat, so why not change it