I need a "rotate_and_slide()" function. How can I get that?
AFAIK there is no such function. In general, though, you can make your player physics object a sphere or circle and then never rotate it, only rotate the graphics.