I put a navmesh volume into the third person project template’s map and it is not able to fill up the stair case, there is a gap in the middle. How can I fix that?
Hello,
While it may not look like the Navmesh is generating there, this is a normal visual representation. The Navmesh will not always render properly on every surface. If you are not having any functional errors with your AI moving up the staircase, then this should work as expected.
If you’re having issues as far as functionality goes, meaning that your AI is unable to climb the stairs, let me know and I can offer additional solutions.
Have a great day
Hi, I am using Simple Move to Actor, if the target/goal actor is standing above the gap my character will not be able to climb up the stairs to reach him or if goal actor standing below the gap my character will not be able to climb down the stairs.
What you’ll need to do is navigate to Edit->Project Settings->Navigation Mesh->Generation and alter the Agent Max Height, Agent Max Slope, as well as some of the other options depending on what you are attempting to generate the Nav Mesh on. Altering these settings should allow you to get the results you’re looking for.
RecastNavMesh.CellHeight
can be a culprit here as well. It’s basically navmesh’s Z-axis generation resolution.
Increasing CellHeight fix the problem. Thanks!
it just unreal nav mesh really does not work on complex buildings only really work on open flat area I have a large prison map and covers great outside but there is 95% missing inside the mash on most of it comes to a triangle nothing covering stairs and some areas are not showing it at all unreal needs to fix the problem with with the new games that come out this out dated nav mesh no longer works quit coming up with wow look at how this water or car shines big deal as nothing to do with any thing people want.
thx!
Fixed for me!
For anyone who needs a dumber explanation to save time like me, go to:
Edit > Project Settings > Navigation Mesh > In search bar type: “Cell Height” and alter that setting in the default section. This is what worked for me.
I also recommend taking a screenshot of the default settings before messing around. I say this because when I messed with the Agent Height & Max Slope (under “generation” tab, not under “Nav Mesh Volume Params”) My NPC couldn’t move anymore and I didn’t remember the default numbers for them. (Thank you Undo button)
Well you fix a stair and another one don’t work. How do you fix stairs with different angles or heights?
What Unreal should do is find the path by itself same with collision box when you try to have a precise box in a stair you need to be Zen because it’s a pain in the A…