Hard to title this question in a limited amount of characters- what I am trying to do is make it so my character moves seamlessly over ground that is slightly different heights- for example, stairs - or running across a physics bridge etc. Currently he just gets stuck if the ground ahead is a few pixels higher and needs to jump to move ahead, and it makes for some crummy game play.
Id love to have a value that I could set that if the ground I am currently on is within X pixels of the ground in front of me than I continue running and seamlessly go over the step. Any ideas? I looked around and didnt see any answers for this but maybe I was searching the wrong keywords... Thanks in advance!
Edit: Might help to mention that I am working on a basic platformer game with the platform preset behaviors on my character.