When moving down a slope, you'll notice the character will be airborne.
One solution is to add a sphere cast at the feet of the controller, if it touches a collider then you check its angle.
If it's below a treshold then the character is pulled down, otherwise nothing happens.
Sounds simple in theory, good luck with it though. :)
When moving down a slope, you'll notice the character will be airborne.
One solution is to add a sphere cast at the feet of the controller, if it touches a collider then you check its angle. If it's below a treshold then the character is pulled down, otherwise nothing happens.
Sounds simple in theory, good luck with it though. :)