0 votes

I haven't found a good solution to this anywhere, does anyone know a way using moveandslide or moveandslidewithsnap that I can stop my player from moving up a wall?

A wall is just something my player can move on normally, isonwall 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.

asked Jun 12 in Engine by RedBlueCarrots (211 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.