How can I make a Character fly to a point using AI MoveTo?


I have this basic test setup for a Griffon to fly to a certain point. The problem is that this has always failed so far. I’ve tried it with and without a Nav Mesh, I’m not certain it needs one. I’ve set the primary land movement to flying, Gravity to 0, and I disabled Gravity wherever I could find a checkbox on the Blueprint. The Blueprint has an AI Controller. What else could I be missing?

As far as I know, the engine doesn’t have 3D navigation, so when using the AI move functions, the destination is usually projected to the navmesh. Flying navigation is more complex to implement, but there are some solutions in the marketplace.

1 Like

Yeah sadly for 3D navigation you must use a plugin or create your own logic for pathfinding, which is definitely not beginner friendly. However, I’d recommend checking out the plugin Don’s 3D Navigation. It is discontinued but maybe if you could find a build for UE5 it will make your life easier.

1 Like


This was my solution. :rofl:

2 Likes

One time, I used a character controller with the skeletal mesh really high and to ignore obstacles. It gave the appearance of flying while not being actual flying.

Also, you can just move Set actor location with a vLerp and timeline. Create function that pick a random location within the AIs location and move to it. Basically, you have to create your own NaviMesh.

1 Like