How to change character sliding behavioUr?

Hi there,

my hair started turning gray over the time I was studying the source code to find a function describing what happens when a character slides down a surface that is steeper than the walkable floor angle.

I need a custom function to be fired for every tick that the character is sliding down a steep surface.

For that I implemented my own logic using a linetrace and the dotproduct, you get it…
But this is unnescessary overhead aka a half baked function running in parallel to a function thats already doing the same thing, just better.

I spent hours now, repeatedly searching through the CharacterMovementComponent- and Character files, but I cant find a function doing stuff with the WalkableFloorAngle.

Any help is appreciated.

Greetings and stay hydrated!