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?
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!
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.
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?
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!