# Orientation problem when applying upward velocity

**URL:** <https://forums.unrealengine.com/t/orientation-problem-when-applying-upward-velocity/472732>\
**Category:** Character & Animation\
**Tags:** orientation, rotation, unreal-engine, question\
**Created:** [October 10, 2020, 8:06pm UTC](https://forums.unrealengine.com/t/orientation-problem-when-applying-upward-velocity/472732 "2020-10-10T20:06:52Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![BenVolo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BenVolo](https://forums.unrealengine.com/u/BenVolo)\
**Post date:** [October 10, 2020, 8:06pm UTC](https://forums.unrealengine.com/t/orientation-problem-when-applying-upward-velocity/472732/1 "2020-10-10T20:06:52Z")

</div>

I am having a problem where using “Orient Rotation to Movement” in my character settings causes my character to revert to its default orientation when i apply movement in only the upward axis. Setting it to “use controller desired rotation” fixes this, but screws up my character movement, affixing it permanently to the camera angle. How can i fix this without applying forward velocity?

Example and breakdown of this buggy behavior here:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/4/0/7403bf20a90c32f6f4c6735a57230eb72cd458d2.jpeg "UE4 Bug Report - Orientation Defaulting On Applying Upward Movement") ](https://www.youtube.com/watch?v=aazgTtuvy3c)

---

<div class="post-metadata">

**Author:** ![BenVolo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BenVolo](https://forums.unrealengine.com/u/BenVolo)\
**Post date:** [October 12, 2020, 1:40pm UTC](https://forums.unrealengine.com/t/orientation-problem-when-applying-upward-velocity/472732/2 "2020-10-12T13:40:08Z")

</div>

If someone could please help me with this unintended behavior, that would be great

---

<div class="post-metadata">

**Author:** ![Detach789](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Detach789](https://forums.unrealengine.com/u/Detach789)\
**Post date:** [October 12, 2020, 2:01pm UTC](https://forums.unrealengine.com/t/orientation-problem-when-applying-upward-velocity/472732/3 "2020-10-12T14:01:10Z")

</div>

By “your character revert default orientation” do you mean the mesh is facing the wrong direction?

You could check to make sure that what your mesh thinks is “forward” is the same as what the whole actor thinks is “forward.” To do this, just go to the mesh’s details panel and adjust its rotation and see if that changes anything.

---

<div class="post-metadata">

**Author:** ![BenVolo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BenVolo](https://forums.unrealengine.com/u/BenVolo)\
**Post date:** [October 12, 2020, 2:06pm UTC](https://forums.unrealengine.com/t/orientation-problem-when-applying-upward-velocity/472732/4 "2020-10-12T14:06:22Z")

</div>

Did you watch the video? I thought i explained pretty clearly what was going on…

By default orientation i mean the original direction the character is facing when it spawns. Regardless of which angle the character is currently facing, it will always spin around to face that exact direction whenever i apply upward velocity.

---

<div class="post-metadata">

**Author:** ![BenVolo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BenVolo](https://forums.unrealengine.com/u/BenVolo)\
**Post date:** [October 12, 2020, 2:09pm UTC](https://forums.unrealengine.com/t/orientation-problem-when-applying-upward-velocity/472732/5 "2020-10-12T14:09:25Z")

</div>

Actually scratch that, never mind, i even rotated the character start point so it spawns in at a different angle and it still rotates to that same direction as before. Not sure why it likes that direction so much… maybe its the Y+ direction? Some kind of unreal true north?

---

<div class="post-metadata">

**Author:** ![Detach789](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Detach789](https://forums.unrealengine.com/u/Detach789)\
**Post date:** [October 12, 2020, 2:14pm UTC](https://forums.unrealengine.com/t/orientation-problem-when-applying-upward-velocity/472732/6 "2020-10-12T14:14:24Z")

</div>

Sorry, I can’t watch Youtube on this computer.

---

<div class="post-metadata">

**Author:** ![BenVolo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BenVolo](https://forums.unrealengine.com/u/BenVolo)\
**Post date:** [October 12, 2020, 2:16pm UTC](https://forums.unrealengine.com/t/orientation-problem-when-applying-upward-velocity/472732/7 "2020-10-12T14:16:28Z")

</div>

And yeah rotating my skeletal mesh doesn’t fix the problem it only makes it so his back side keeps flipping in that direction instead of his front

---

<div class="post-metadata">

**Author:** ![Detach789](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Detach789](https://forums.unrealengine.com/u/Detach789)\
**Post date:** [October 12, 2020, 2:18pm UTC](https://forums.unrealengine.com/t/orientation-problem-when-applying-upward-velocity/472732/8 "2020-10-12T14:18:45Z")

</div>

Hmm…Have you checked/unchecked “controller rotation yaw” in the details panel? That seems like something that causes problems with movement for a lot of people.

---

<div class="post-metadata">

**Author:** ![BenVolo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BenVolo](https://forums.unrealengine.com/u/BenVolo)\
**Post date:** [October 12, 2020, 2:22pm UTC](https://forums.unrealengine.com/t/orientation-problem-when-applying-upward-velocity/472732/9 "2020-10-12T14:22:05Z")

</div>

Oh. Well the crux of it is that applying character movement in only the Z+ axis somehow causes my character to flip around and always be facing the same direction when “Orient Rotation to Movement” is enabled. Even though there is literally no movement in that direction to orient to. For some reason it is taking exclusively upward movement, and assuming the forward vector for that movement is always Y+, regardless of whether i pull that up vector from “get control rotation” or not.

---

<div class="post-metadata">

**Author:** ![Detach789](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Detach789](https://forums.unrealengine.com/u/Detach789)\
**Post date:** [October 12, 2020, 2:30pm UTC](https://forums.unrealengine.com/t/orientation-problem-when-applying-upward-velocity/472732/10 "2020-10-12T14:30:18Z")

</div>

So you are trying to fly up the Z axis but it thinks you are moving along Y?  
…yeah, I’m stumped too then.

All I can guess is maybe you could make another input in the project settings and try making something else be your Z axis input? I think this is out of my current range of knowledge.

---

<div class="post-metadata">

**Author:** ![BenVolo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BenVolo](https://forums.unrealengine.com/u/BenVolo)\
**Post date:** [October 12, 2020, 2:46pm UTC](https://forums.unrealengine.com/t/orientation-problem-when-applying-upward-velocity/472732/11 "2020-10-12T14:46:04Z")

</div>

yeah those are all unchecked but checking them gets me essentially the same results as when i enable “use controller desired rotation” instead of “Orient Rotation to Movement” under the character movement component. Which is to say that it fixes the orientation issue, but causes me the inability to have my character walk right and left without always facing in the camera direction. Except “use controller desired rotation” fixes this problem more smoothly wheras using the controller rotation only causes it to spaz out a bit as it constantly tries to reorient itself to Y+ and then back to the controller rotation instead of just overriding it completely.
