# How to Allow Character to Move Along Wall?

**URL:** <https://forums.unrealengine.com/t/how-to-allow-character-to-move-along-wall/385131>\
**Category:** Character & Animation\
**Tags:** climbing, unreal-engine, question\
**Created:** [February 16, 2017, 3:26pm UTC](https://forums.unrealengine.com/t/how-to-allow-character-to-move-along-wall/385131 "2017-02-16T15:26:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Komsur](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Komsur](https://forums.unrealengine.com/u/Komsur)\
**Post date:** [February 16, 2017, 3:26pm UTC](https://forums.unrealengine.com/t/how-to-allow-character-to-move-along-wall/385131/1 "2017-02-16T15:26:43Z")

</div>

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.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/f/8/3f81cfefdeb7f109d983fea26898b5a460180ad7.jpeg "Unreal 4 Error") ](https://www.youtube.com/watch?v=mo7C2RLlSzE)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f40f72b8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f40f72b8](https://forums.unrealengine.com/u/anonymous_user_f40f72b8)\
**Post date:** [February 16, 2017, 4:14pm UTC](https://forums.unrealengine.com/t/how-to-allow-character-to-move-along-wall/385131/2 "2017-02-16T16:14:06Z")

</div>

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

> **[Align Player to Surface?](https://forums.unrealengine.com/showthread.php?29401-Align-Player-to-Surface)**
>
> Greetings, I’m wondering how I might go about creating a blueprint that forces a player to always stay aligned to a surface such as while running around a loopdeloop or helix like in Sonic the Hedgehog:

---

<div class="post-metadata">

**Author:** ![Komsur](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Komsur](https://forums.unrealengine.com/u/Komsur)\
**Post date:** [February 16, 2017, 5:11pm UTC](https://forums.unrealengine.com/t/how-to-allow-character-to-move-along-wall/385131/3 "2017-02-16T17:11:06Z")

</div>

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.
