*Purpose I want to create a navigation mesh that is optimized for going up and down stairs and stopping.
*Question
I'm making a nav mesh to make a character go up and down stairs.
I'm making a nav mesh that makes a character go up and down stairs, but when the character stops in the middle of a step, his foot floats or his foot gets stuck in the stairs.
I'm having a hard time creating a good path for the nav mesh.
I'm wondering if you have any knowledge on how to bake a nav mesh for ascending and descending stairs.
Please let me know what you know about baking navmeshes for stair climbing and descending, and what pages or ideas I should refer to when implementing stair climbing.
Please let me know what you know about baking a nav mesh for stair climbing.
*Preparation
Create the stairs and the ground in Probuilder so that the nav mesh can be baked.
***Case 1
Bake the nav mesh of the stairs.
Test result.
When ascending and descending the stairs, my feet sink into the ground.
Every time I ascend or descend a flight of stairs, the surrounding scenery wobbles up and down.
***Case 2
Make a board to accompany the stairs.
Bake the nav mesh with the stairs hidden and the slope displayed.
Test result.
When ascending and descending the stairs, the feet do not sink in.
But when I stop at the step, my foot floats away.
The scenery does not wobble because you are running on a board.
***Case 3
I made a board to accompany the stairs.
I want to make the nav mesh of the step part flat.
I want to make the nav mesh of the step part flat, so I'll edit the step part with the Probuilder function.
Instead of a straight slope, lower the knot to create a slope and bake it.
Test result.
There is not much change in the shape of the nav mesh from Case 2.
The phenomenon that the foot lifts off the ground when stopping at the step was not improved.
The scenery is not wobbly because you are running on a board.
***Navigation mesh we want to achieve
***Development environment
Unity2019.4.9f1
***Package used
ProBuilder4.2.3