Question by
sthj · Nov 25, 2020 at 05:02 PM ·
charactercontrollersteps
walking up stairs, step offSet not working.
I've built a scene with Objects imported from blender.
My character can walk the slope in the background just fine, but im not allowed to move up the stairs. I tried to set the Step Offset at different values,. but it does not help help.
Comment
Answer by jimmiewalker653 · Nov 26, 2020 at 03:10 PM
It looks like each stair has a box collider attached to it. Instead, create a triangle with a mesh collider attached to it (object shown in image). You'll want to turn off the mesh renderer and the mesh filter. But with a mesh collider attached to this object, the slop offset will then work as long as you position the angle properly. Lastly, make sure you remove the box colliders (all of them) from the stairs and you should be good to go.
capture.png
(141.3 kB)
Your answer
![](https://koobas.hobune.stream/wayback/20220613020518im_/https://answers.unity.com/themes/thub/images/avi.jpg)