How to Allow Character to Move Along Wall?

Hi,

So I’m working on a ledge grabbing/climbing mechanic which works perfectly, however I wanted to try and put sidling along a wall while hanging as well, but I can’t figure out how to do this. I’ve set it up so that when the character hangs on a wall, all forward movement input is disabled, but I’ve left left and right movement on, because they’ll need it.

However, the character starts flying around when the buttons are pressed. I’ve set the movement mode to flying in order to keep the character clinging to the ledge, but I was wondering if there’s a way to keep the character there while they’re moving too.

Thanks in advance.

P.S. I’ve attached a video here demonstrating the problem.

Would aligning a player to the surface help? in which case this link has some advice on using a Linetrace.

Hi, thanks for your response.

I’m thinking of possibly doing it using the root motion of an animation that goes either left/right. Would this be a viable option? I did that for the climbing up the ledge and it worked perfectly.