I know that PhysX already has a built-in function to allow character controllers slide down slopes, but I need a bit more control.
The problem is, with PxControllerNonWalkableMode::ePREVENT_CLIMBING_AND_FORCE_SLIDING it just seems to accelerate the controller more and more until it has reached the end of the slope. PxControllerNonWalkableMode::ePREVENT_CLIMBING on the other hand cancels out any up- or downwards velocity on the controller altogether, until the controller has left the slope.
I want the controller to be able to slide down, but affected by gravity.
To do that I need some sort of callback which allows me to retrieve whatever actor the player is standing on, as well as the normal of the triangle / surface.
Is there such a callback in PhysX, and if not, how can I achieve what I want to do?