Hi! I'm stuck with probably the simpliest thing in the world, but stuck nonetheless.
I need an enemy that walks on a regular solid surface but, when it hits a wall, it starts climbing it. And the same gones when it hits the ceiling. it should start walking on it. No matter what I do, I screw up with the angles and the character does all kinds of weird things.
At the same time, I need that when the enemy stops having a solid floor under it's feet, he should descend from the border, in a very metroidish style.
Thanks in advance. Any help will be really welcome.