Support Forum

RichAI on stairs

Hey there,

I have a problem but I don’t know what the problem is.

It is my RichAI:

Capture21

Recast Graph:

If Radius is 0.25 and Height is 0.5 this happens:

It ignores stairs.

But by Radius of 0.5 and Height of 1 it works:

But still it doesn’t work here:

It is those stairs colliders:

And it is the pathfinding mesh:

https://gyazo.com/d4bdd81f1ac28de489a95e442f0a2bca

What should I do for fixing this ?

Hi

Sorry for the late answer, I have been away for some time.
It’s a bit hard to see, but it looks like the agent is falling between the steps of the stair.

The agent uses a raycast from the center of the yellow capsule downwards to the ground to figure out its y coordinate. If it was supposed to step up one step, but the step was so high that the center of the agent ended up below the step then it will not be able to detect it. I would suggest that you increase the height of the character. That should solve it.