How would I make it so my player object slides on ice at the same speed and in the same direction as it was moving when it hit the ice? I would also like to make it so they could jump and keep the same speed and direction while jumping on the ice they hit until they hit a non ice object.
I imagine I could make this in to some sort of state but I'm not sure how.
Thank you.