Clicking outside of navmesh to have character travel towards mouse

I’m stumbling here trying to figure out to get my character to move towards my mouse in the topdown example provided. If I click outside if my navmesh my character won’t move. Which is severely interrupting. Any chance anyone has built a solution for this?

I came across this issue here https://answers.unrealengine.com/que...ml?sort=oldest

But it went mostly unanswered. I’m mostly just looking for my character to go to the edge of the navmesh when I click outside of it. I don’t want the character to leave it, just travel in the direction of the mouse.

I would greatly appreciate any help on this!

It’s quite easy to replicate this issue too…

1: create topdown game
2: Create new level with landscape
3: Make a small navmesh volume
4: Click the landscape where you know you don’t have nav and nothing will happen. This is the issue I’m currently having.

Even though you want the character to stay in your navmesh, he still won’t go towards your click.

Problem I’m now having, is how to get my character to move “TOWARDS” the hit location, but still stay in Navmesh…

Note:
I’ve noticed as well, that if I place a navmesh volume way off in the distance, it works as intended. My character will walk towards my click location and stay in the navmesh volume he’s currently in just fine… So the hit result has to be within a navmesh volume. Trouble is… How do I bypass this check for my character?

The only thing that works so far in my testing, is creating a navmesh volume on the entire level… And that’s just not going to work well at all.

Bumping. Still looking for some kind of a solution here.

Hey, not sure if you’re still running into this but I just figured out a solution that seems to be working well so far. Take the Hit Result Location from your Get Hit Result Under Cursor by Channel, break the vector, then make a new vector with just the X and Y values and move to that location.

It’s allowing me to run right up the edge of the walls and any blocking volumes without a hitch.

If you haven’t solved it yet yourself, I hope this works for you.

last comment (with vectors) dont work for me.
add movement input in combine with simple move to location works fine