How to move my pawn on stairs or edges like character movement component?

Hello everyone,

I have a pawn class which has its own capsule component. I added floating pawn movement component to the pawn for custom movement. Now, I have a problem about stairs and edges. The character moves smoothly on flat surfaces, however, when it comes to stairs or edges (sidewalks for example), the character slows down or cannot even step on it. How to move my character on stairs like character movement component?