Stick player (my own rigidbody controller) to the ground when going down the slope

I am making my own controller on rigidbody and here it happens to me like in the picture on the left, but I would like as I drew on the right.

That is, I want to glue the player to the slope after a flat surface. I have already googled a lot and tried it myself. but I could not figure out how this could be done. Can someone help with this?

P.S. I don’t want to change the gravity of the player and I definitely don’t want to tag sloped surfaces

I have been to this thread 3 times and there’s no answer, so I don’t mean to necro-post, but just incase anyone else was looking for a solution, this is one of the most solid I’ve come across.

Check out his other tutorials too.

By the way, this is especially evident (the fact that the player does not stick to the slope) when you run at great speed and run out onto the slope. Then you will never touch it at all, you just fly away.

I’m having the same problem, how did you fix the problem or were you able to fix it?

having the same issue but only on selected mini sites https://minimilitiamods.net/mini-militia-mod-by-sahad-ikr/