- Home /
Adding Multiple Slope Limits to the Character Controller
Hi there,
I was wondering if there is any way to add multiple slope limits to the build in Character Controller in Unity 4.
The main reason why I want to do this, is so I can make a difference in slope limits and sliding speeds. (Making the character slide faster on a slope that has a higher angle)
For example: On slopes between 15 and 30 degrees I would like to have a sliding speed of 10. On slopes between 30 and 45 degrees I would like to have a sliding speed of 15. On slopes of 45 degrees or higher I would like to have a sliding speed of 20.
So far, I tried adjusting the Character Motor, but with no succes. I'm not very experienced with Scripting, I have been doing it since 2 months now, but I do understand most codes pretty well (as long as complicated math does not get involved).
Anyhow, if there is any simple solution that I might be missing here please share :D!
Your answer
![](https://koobas.hobune.stream/wayback/20220613093937im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Help with sliding down hills 1 Answer
AddForce is inconsistent 1 Answer
Unity 5 Character Controller Not Sliding Like in Unity 4 0 Answers
Simple sliding sled downward Movement 2 Answers
Help sliding Rigidbody down slope 1 Answer