I'm working on a game with a 3d lateral perspective, and my question is, how do I make a sprite that can climb ramps or ladders? I've tried several things, and all of them seem to work properly more or less, but I'm sure that there have to be some way to make it easier.
What i'm trying to explain is that when the character is moving normal everything is ok, but when it finds a ramp or a ladder, I don't know how to make that diagonal up or down movement to represent that it is climbing the ladder.
I'm having problems making a ramp that only could be climbed from the front or back, but not from the sides, and neither do I know how to make the character to fall for a few pixels if it falls from a small high.
Thank you so much, I don't now if I've been able to explain my problem, english is not my first language.