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"

AI - Doors / Navmesh

Hi,

I'm working on an AI and have some problems with Doors. The door opens if the Bot is near but he won't walk trough the door. There is always a break in the Navmesh caused by the blueprint door. If I remove the door everything works great and the bot is walking trough the door.

alt text

For testing I also tried an additional AI move to the door center after it's open, but he won't walk to this spot without a Navmesh. So how do I get a working Navmesh for a door?

Thank you!

Product Version: Not Selected
Tags:
doornavmesh.jpg (35.9 kB)
more ▼

asked Oct 28 '14 at 06:01 PM in Blueprint Scripting

avatar image

KAEPS133
100 11 15 27

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

3 answers: sort voted first

The threshold is too narrow for the NPC. Navmesh is created so that it cuts as much as the radius of your base character. There is an alternative though, you can uncheck block navigation for the door if they'll always open when AI is near.

more ▼

answered Oct 28 '14 at 07:22 PM

avatar image

alperenakyuz
2k 62 24 110

avatar image KAEPS133 Oct 28 '14 at 08:03 PM

It's not to narrow, but unchecking block Navigation solved the problem. thank you! The Nav Link Proxy wasn't working - with this the bot got stuck in the middle of the Link and was fliping the look direction the entire time.

avatar image YuchenMei Oct 30 '17 at 05:19 PM

Can I ask what's the best way to make a door open automatically when an NPC is near?

avatar image Sturm Wolf Oct 27 '18 at 10:49 AM

I use a CPP made door BP and a trigger volume connected to it in game.

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

Take a look at "Nav Link Proxy"s.

Those show the AI that they can do something from there ;)

more ▼

answered Oct 28 '14 at 06:06 PM

avatar image

Erasio
5.9k 291 86 293

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

Can I ask how to make a door open automatically when an NPC is near?

more ▼

answered Oct 30 '17 at 05:19 PM

avatar image

YuchenMei
1 3 6

avatar image KAEPS133 Oct 30 '17 at 05:21 PM

the easierst way is to just have a trigger volume whiche triggeres the door logic once a AI overlaps it.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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