Hi everyone,

How do I make my character go up a staircase?

For example, I have a character with a walk animation, and all is fine when the character is walking on flat ground.

However, when the character finds a staircase, how do I make it so that the character goes up the staircase?

Do I need to script it? How do I tell the character that that's a staircase and the animation should not be the standard walk animation?

How do I make the character able to go up the steps? The dimensions of the steps of the staircase may or may not allow the character to be able to go up the staircase.

If I have many staircases in my game, and they have different step heights, how do I handle that?

I hope you see my problem. Any suggestions?

Thanks!

CrazyCoder