It is said that the character can’t move when leaning the capsule, maybe it is because the floor detection detect it not on floor, but I just can’t understand these how function of floor detection work.
I’ve never looked into this, but the function in your second image has a DownwardSweepResult parameter. There is something like a downwards spherecast happening somewhere else it seems.
I don’t know if that helps.