x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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.

Product Version: UE 4.20
Tags:
more ▼

asked Oct 24 '18 at 03:19 PM in Blueprint Scripting

avatar image

Illuzioun
1 1 3 5

avatar image Illuzioun Oct 31 '18 at 03:52 AM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question