Slope Limit Not working

Hi i am using the character controller script and i can’t get the slope limit to work correctly. I am able to walk up any slope but walls, i’ve played withe the limit and it doesn’t seem to have an effect with my character. The slopes that are almost 90 degrees if i keep walking into them i can walk up the slopes.

This is a huge problem and i need to sort it out, does anyone have any ideas why or know why this may have happened?

Thanks.


I’ve searched the forums alot for this BTW and i can’t get a solution. I’m kind of screwed because its not ok for this to happen and i need to have a slopes that you can and can’t walk up for each player its one of my most important parts of my game.

If there is absolutely noway to get the character controller to work with slope limit what do you recommend.

I need to be able to walk up slopes (angle the character to the slope when climbing) as well as edit this varible for example one character should be able to walk up the slopes of 10 degrees and the other may have 30 or 40 etc. If its something that requires physics can you link me to a tutorial i’m building a platformer and based it of the Lerpz tutorial.

Thanks again, i’m very concerned about this as collision detection was my main reason for picking unity because i heard it was so well handeled and it seems that way but i’m really stumped on this.

Anyone i wouldn’t normally bump but I don’t know what to do.

Hmm no matter what i do i can’t get the character controller to work, rigided bodies look complex for what i want them to do. This is really fustrating for me. If anyone can help it would be greatly appreaciated.

This is a known problem with the CharacterController. There’s a suggestion with some code to fix the behaviour in this thread.