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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

Navigation Smart Links still traversable even if disabled?

I'm trying to use NavLinkProxy to create navigation links that can be enabled/disabled (for doors, breakable walls, etc.). If I set up a Smart Link (assigning NavArea_Null as disabled area) it works only partially. When enabled it permits AI to traverse the link. When I disable it the link is still traversable. Examining the c++ side i noticed that the link is not actually removed from the navigation system, but rather it is assigned the largest possible cost (i.e. BIG_NUMBER). This "disables" the link if there is another way to the destination with a llower cost. However, if the smart link is the only way to the destination, the AI controller uses it anyway. I'm using SimpleMoveToLocation function to make the AI move. Engine version 4.6.

I'm able to obtain the correct behaviour with a simple link if I implement my own c++ actor, but this requires the NavMesh to be dynamic. Smart Links should work even if the NavMesh is static, right?.

Is this how Smart Links are supposed to be used, or am I missing something?

Product Version: Not Selected
Tags:
more ▼

asked Jan 28 '15 at 11:15 AM in Using UE4

avatar image

m.frigerio
20 1 3 8

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

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