Rigidbody character controller - sliding issue OR getting stuck issue / friction

Hi,

I have a problem.

So Im making a character controller that uses a rigidbody.

First it would slide down slopes, that was easy to fix using a physics material with high friction. But that also causes the character to get stuck pretty easily on the non-slopey parts of the level.

So, I could lower the friction when the char is moving, but then it will slide down slopes when its moving and otherwise stand still on them.

I guess what I actually want is the character to ignore slopes until lets say 40° and otherwise slide down, perhaps even at a constant speed (with a sliding animation).

So what should I do instead?

Thx

Never mind I found the CharacterController by now!