Question by
cesarmartinhernandez · Mar 26, 2021 at 09:11 PM ·
player movementslidingice
How i can move character sliding on ice until enter on "no-ice" floor?
I am making a puzzle game where you can move a box and you have to move it to the goal. I am using transform.translate to move it a fixed value at each step. But I want to be having a special floor, called ICE, where when the player steps on it he slides until he reaches a tile that is of any other type "no-ice". I understand that moving with Transform.translate is useless using materials with low friction. I have tried many ways but can't find the right way to do it. I would not like to have to change the entire motion system if possible. Help is appreciated, thank you very much.
Comment