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"

Navigation 'Is Partial' doesn't work

Hi,

I have an AI using Navmesh navigation. When I try to see if it can reach a location it should not be able to reach (e.g. a closed room that has a Navmesh with the AI outside of the room) I do a check with 'Find Path To Location Synchronously' and take the Navigation Path Reference this returns to check for 'Is Partial'.
This always returns false, even though it cannot reach the location. This seems to be a bug.

When making my AI move to that same location and checking 'Has Partial Path' it returns true. So the path it has to the target location is partial, even though 'Is Partial' tells us that same path is not partial.

I'm having issues with my AI behaviour because of this. I need a way to know if my AI can actually reach the target location before I make it move there. It's important to keep in mind that the unreachable location is actually on the Navmesh.

I ran into this issue while working in UE 4.15.3 and can't confirm if the same issue is present in 4.16.1.

Can anyone reproduce this issue and/or help me find a way to figure out if a Navmesh location is reachable for an AI before making it move there?

Similar issue:
- (https://answers.unrealengine.com/questions/306278/how-to-check-if-target-is-reachable-navmesh.html)

Documentation:
- (https://docs.unrealengine.com/latest/INT/BlueprintAPI/AI/Navigation/HasPartialPath/index.html)
- (https://docs.unrealengine.com/latest/INT/BlueprintAPI/AI/Navigation/IsPartial/index.html)

Thanks in advance,

Wolff95

Product Version: UE 4.15
Tags:
more ▼

asked Jun 28 '17 at 11:55 AM in Bug Reports

avatar image

Wolff95
1 3 2

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

IsPartial is returning true even if the goal is not reachable. UE4 4.18

more ▼

answered Mar 15 '18 at 02:39 PM

avatar image

JavierRamello
71 6 10 15

(comments are locked)
10|2000 characters needed characters left
Your answer
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