# Problem with stairs, can't walk backward

**URL:** <https://forums.unrealengine.com/t/problem-with-stairs-cant-walk-backward/467895>\
**Category:** Cinematics & Media\
**Tags:** walking, unreal-engine, question\
**Created:** [July 9, 2020, 9:43am UTC](https://forums.unrealengine.com/t/problem-with-stairs-cant-walk-backward/467895 "2020-07-09T09:43:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cissoid](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cissoid](https://forums.unrealengine.com/u/Cissoid)\
**Post date:** [July 9, 2020, 9:43am UTC](https://forums.unrealengine.com/t/problem-with-stairs-cant-walk-backward/467895/1 "2020-07-09T09:43:07Z")

</div>

Hello,

I have the problem that i can’t walk stairs backwards.  
If I move the camera while trying moving backwards then is works.

How I can fix this problem?

Here is a Video:  
[Unreal Engine Stairs Problem](https://youtu.be/Ciirclq0fJ4)

---

<div class="post-metadata">

**Author:** ![Cissoid](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cissoid](https://forums.unrealengine.com/u/Cissoid)\
**Post date:** [July 9, 2020, 7:25pm UTC](https://forums.unrealengine.com/t/problem-with-stairs-cant-walk-backward/467895/2 "2020-07-09T19:25:17Z")

</div>

Ok, I think I found the problem. I control the rotation with “Add Controller Yaw and Pitch Input”.  
In the Simulation mode I saw that the capsule is also rotation, i think than is a problem with the  
slope which is defined in the character movement.

I tried to lock the Y-Rotation but it doesn’t work, i think its because the capsule is controlled by  
the Character Class.

Any Ideas?

---

<div class="post-metadata">

**Author:** ![Tuerer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tuerer/32/1008648_2.png) [@Tuerer](https://forums.unrealengine.com/u/Tuerer)\
**Post date:** [July 9, 2020, 9:37pm UTC](https://forums.unrealengine.com/t/problem-with-stairs-cant-walk-backward/467895/3 "2020-07-09T21:37:34Z")

</div>

So you’re saying your capsule is not vertical? I have the same standard “Add Controller Yaw and Pitch Input” setup, but the capsule always stays vertical, only its Y rotation changes.

---

<div class="post-metadata">

**Author:** ![Cissoid](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cissoid](https://forums.unrealengine.com/u/Cissoid)\
**Post date:** [July 10, 2020, 7:34am UTC](https://forums.unrealengine.com/t/problem-with-stairs-cant-walk-backward/467895/4 "2020-07-10T07:34:25Z")

</div>

You mean the z rotation? because z is the up axis in unreal.

Yes the Capsule is not vertical it looks like this.

![306730-project-stairs-problem.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/7/0/8702491593850435fe6a1028c8d3e7fe22391af9.png)

---

<div class="post-metadata">

**Author:** ![Tuerer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tuerer/32/1008648_2.png) [@Tuerer](https://forums.unrealengine.com/u/Tuerer)\
**Post date:** [July 10, 2020, 7:48am UTC](https://forums.unrealengine.com/t/problem-with-stairs-cant-walk-backward/467895/5 "2020-07-10T07:48:32Z")

</div>

Z is up in UE in general, that’s right, however there’s something different when it comes to the character. X, Y and Z are Pitch, Yaw, and Roll respectively, but you only change Pitch and Yaw, right? In this case Yaw represents the rotation around the vertical axis.

If you make something like this:

 ![306739-rotation.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/3/f/a3fa860ba00fbe357bfb95a32efcf844e23471ae.png)

You’ll see that when you rotate left or right, Y (Yaw) changes, and Z (Roll) remains 0.

---

<div class="post-metadata">

**Author:** ![Tuerer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tuerer/32/1008648_2.png) [@Tuerer](https://forums.unrealengine.com/u/Tuerer)\
**Post date:** [July 10, 2020, 7:57am UTC](https://forums.unrealengine.com/t/problem-with-stairs-cant-walk-backward/467895/6 "2020-07-10T07:57:10Z")

</div>

I think I’ve got it: in the Character (self), find the option “Use Controller Rotation Pitch”. If it’s checked, uncheck it.

---

<div class="post-metadata">

**Author:** ![Cissoid](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cissoid](https://forums.unrealengine.com/u/Cissoid)\
**Post date:** [July 10, 2020, 9:13am UTC](https://forums.unrealengine.com/t/problem-with-stairs-cant-walk-backward/467895/7 "2020-07-10T09:13:22Z")

</div>

Yes, it was checked. I don’t know how this happend. I converted the project from a lower engine  
version. I checked almost everthing but not self 🙂 Thank you.
