Sliding and gravity.

Hello.
I am trying to make a good 3th person controller for my game and i have a problem with gravity…

How can i check, that my character is above ground or not?
And another: how can i prevent sliding from slant?

I am using riginbody and capsule collider.
(I dont even need character above ground becouse we can’t jump)

quick and dirty fix- create a new physics material. set its static and dynamic friciton to 1(maximum value). use this material as the physics material on your capsule collider.
if this doesn’t work, increase the drag on your rigidbody.