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"

Character (with A.I.) not able to navigate through stairs.

Hey guys, I've this very simple problem.

alt text

Basically this character with pawn sensing. is able to follow me without problems in each part of the map. But somehow, he's not able to climb stairs like this. He's always get stuck on that position.

Any idea of what could be the cause of the problem?

Product Version: UE 4.10
more ▼

asked Mar 15 '16 at 03:16 PM in Blueprint Scripting

avatar image

Marco I.
19 7 10 12

avatar image Sean L ♦♦ STAFF Mar 15 '16 at 03:24 PM


Have you tried adjusting the character's Max Step Height in the character movement component?

Also, is the Nav Mesh covering that part of the stairs as well?

avatar image Marco I. Mar 15 '16 at 03:36 PM

Well, actually not. I got this: alt text

How can I fix this?

avatar image Sean L ♦♦ STAFF Mar 15 '16 at 03:47 PM

Without looking at the mesh itself, I'd suggest checking Edit->Project Settings->Navigation Mesh->Generation and messing with some of the settings in there to see if you can get it to generate on your steps. You have options such as Max Height, Max Slope, etc. If you could provide the stair mesh, I could also take a look at it on my end if you'd like.

avatar image Marco I. Mar 15 '16 at 07:11 PM

Unfortunately I got no access (at the moment) to the meshes of the project. Anyway the "Agent Max Step Height" in the Navigation Mesh settings helped me a little bit, but unfortunately seems impossible to cover all the area of the project.

Just in case I'll get the access to the meshes, could you tell me please in what I've to take a look to try to fix the problem? Normal problems of geometry maybe?

ps = seems that the navmesh now it's entirely broken and doesn't work anymore after I tweaked those settings. -.-" Of course I reverted all my changes to default, but it's still broken. A message appears at the top-left corner saying:"NAVMESH NEEDS TO BE REBUILT." ...darn!

avatar image Sean L ♦♦ STAFF Mar 15 '16 at 07:42 PM

I'd recommend taking the mesh into a clean project and messing around with the Nav Mesh settings until you are able to get something closer to what you are looking for. When you do get a chance, feel free to provide the mesh and I'd be glad to look into it.

Have you attempting to build paths using the build button at the top of the viewport?

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

2 answers: sort voted first

I actually found a definitive solution. The agent radius. Basically I edited the "recast-navmesh" object, which is created automatically when a navmesh bounds volume is added to the scene, reduced the value of the agent radius to 2, and that's it! I got a great navpath! Previously I did the same thing inside the project settings, but for some reason that didn't change anything in the project.

Hope that this could help someone that will have my same problem! Thank you for the help! :)

more ▼

answered Mar 16 '16 at 10:31 AM

avatar image

Marco I.
19 7 10 12

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

You could use a Nav Link Proxy to fill the small gap on the stairs to allow for the AI to move all the way up and down without getting stuck.

more ▼

answered Mar 15 '16 at 08:13 PM

avatar image

Black Phoenyx
4.2k 165 9 170

(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