Character Controller collision on Mesh Colliders Slopes Issue.

Hello everyone,

I am new to unity and game development in general and trying to learn by making a 2D platforming game. Currently I have an issue with the character controller going down very steep slopes. The best way to explain it is to show you a video which you can find attached below.

The problem is that when the character goes down steep slopes, he basically is glued to the wall all the way till he hits the ground. Is this supposed to happen? If yes, how can I fix this issue. (Im thinking maybe I should re model the ground and make a sharp slope so the character falls in directly, but i would rather keep it as is if anyone can give me a solution).

Details:

1- I am using the character motor script along with the platforming input controller.
2- The ground has a mesh collider attached to it.

Any help is appreciated.
Thank you very much.

[11958-charactercollision.zip|11958]

you should check the settings of the character controller… there are some settings for slopes… i cant help you very well as i never use the character controller for anything more than testing and examination of the levels but i think there are some settings that could fix this…

BUT, you should consider to abandon the character controller approach and go for a pyhsics/rigidbody solution… this will give you the most realistic/convincing results.

good luck!