I am making a game where the player can move in 4 or 8 directions. There is this area where the surface is ice so I want the character to slide on it. For example from point A to point B, if the character is walking towards right when he touch on the ice surface then he'll slide all the way to the far end of right until he hits a solid object or reach normal surface. While he's sliding, all movements are disabled.
Hopefully someone can provide some clues and direction for me to look into. I tried physics behaviour but it didn't work as intended. Perhaps I'm missing something here.