"negative" perch radius threshold to keep capsule contained?

I’m hoping you already solved the issue, but I just came across this question and thought of an answer for anyone else with the same issue.

You can do a line trace from the front of your capsule (whatever the radius is) to just below the floor strait down. Have it trace whenever the player is in motion and if the trace does not recieve a blocking hit you can stop the players forward movement. Hope this helps