Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | RedBlueCarrots |
I haven’t found a good solution to this anywhere, does anyone know a way using move_and_slide or move_and_slide_with_snap that I can stop my player from moving up a wall?
A wall is just something my player can move on normally, is_on_wall will return true.
If I slide into a wall at the moment, and it’s not completely vertical (around 55 degrees), my player will begin to slide up the wall, before moving down again.
What I want to do is to slide along the wall without going up it at all when I walk into it.
Any help would be appreciated.