How to make edges of objects "slippery"

As you see on the picture, enemies get stuck on the edge of ground. The enemy is constantly moving forward at speed of 6 and that’s why it gets stuck. I want instead that they “slide” down or add something to the “enemy” script so they bounce of the side and go the other way and when they hit an object again, bounce and go the other way.
I hope my problem was understandable:)

53581-enemystuck.png

Are you using movePosition or setting the velocity? If so, I don’t think that, by default, there’s a a way to do that. You could try to make a script so it tests if the right or left is touching a wall and, if it is, will change the y velocity by, say, -5, although this wouldn’t be very realistic. Another way is you could set it to -(gravity strength) to improve the realism.