@peterdrake i don't really know unity, but do you have some border or corner collision check that would detect a collision with the feet of the character, rather than the front, which would push it up to the level of the "ground" (top of the box that the feet are considered under because of that collision)?
@tshirtman I'm not sure. I'm using the 3rd party TopDown engine, so there is a LOT of code I didn't write myself.
@peterdrake arf, that can be troublesome indeed.
When i don't really have an idea where the bug comes from, i just simplify, until it disappears, or can be observed more easily because there is much less logic going around.
There are two ways to go about it, one is disabling/removing any unrelated part of the code you can, while still having it running, the other way is the opposite, to start a new version, as simple as possible, adding only the parts you need to recreate that situation.
@tshirtman Yeah, that's probably the way to go next. Of course, I was lazily hoping someone would say, "Oh, I've run into that many times. Here's the fix..."
I have to deal with some other pressing issues first, but then I'll try to rig up a minimal example.