+1 vote

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.

in Engine by (388 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.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.