Character Controller script cannot jump on top of platform because of slope limit being 45
I followed Brackeys' tutorial exactly https://www.youtube.com/watch?v=_QajrabyTJc
Here's a paint drawing to explain better:
Answer by westmac · Apr 24, 2020 at 09:02 PM
If you want to make an object go up a slope, you actually need a slope there.
If you have the slope limit set to 45, it won't go up a 90 degree angle. If you have the slope limit set to 180, you will go up every wall.
As shown in the diagram, you need an actual incline that your player moves up. As long as the angle in that diagram (x) is smaller than that slope limit, the player will travel up it.
Use probuilder and create an actual slope, and make the angle smaller than slope limit. You should be able to walk up it after that.
Your answer
Follow this Question
Related Questions
Unity 5: AddForce Increases power when already being pushed towards a collider. How to make stop? 1 Answer
Trying to Make an Interact Icon Appear 1 Answer
2D jump problem when hits wall 0 Answers
Detect overlapping objects 2D game 0 Answers
How can I replace objects in the initial position? 0 Answers