Hey, i´m doing a 3rd person platform game, and contains 5 stairs, the first one is plane and there is a spawn point on it, and the other 4 are in different x-axis and y-axis position, some are above and others under the 0 position (y-axis); the thing is that my character that is the default 3rd person controller including in Unity works very well on the first plane( cube, scale: 12, 0.2, 2) and it can also jump, then i jump to the other that is on -0.5 y position and works, then the next one is on 0 y position and works too but the next one is on 0.5 y pos. and jumps to the next one instead, that is on 1 y position. Then when i´m on the last one i try to go back to the spawn point and again the same problem with the 3rd stair, and also when i´m on the 2nd one falls through it, and others times it works, but when i jump goes so forward almost in the middle of the 1st plane.
I think this could be caused by colliders, but i don´t know where is the problem, all of them has the same size (1,1,1) but i think that´s can be the problem, also my character can jump from 1 to 1.5 max height,and it seems the trouble with the stairs happens when i jump or when i down from one stair to another, so please help me…
I agree with TheFrankman123. I think the problem is that colliders are iterative. If you have a very thin collider, then there is a high chance of an object passing straight through the collider. Try adding some depth to your colliders. If your character has a CharacterController, try adding skin width to it.