# Get Right Vector does not work

**URL:** <https://forums.unrealengine.com/t/get-right-vector-does-not-work/491065>\
**Category:** Character & Animation\
**Tags:** get-actor-right-vect, player-rotation, move-actor, unreal-engine, question\
**Created:** [November 18, 2021, 3:23pm UTC](https://forums.unrealengine.com/t/get-right-vector-does-not-work/491065 "2021-11-18T15:23:22Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![tongucci](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tongucci](https://forums.unrealengine.com/u/tongucci)\
**Post date:** [November 18, 2021, 3:23pm UTC](https://forums.unrealengine.com/t/get-right-vector-does-not-work/491065/1 "2021-11-18T15:23:22Z")

</div>

I am implementing a system like the chisel in God of War. Chisel as a character and in flying movement mode.

When I use the input axis up, it moves upwards. But when I use the input axis right it does not move upwards. If I rotate the chisel character on the level, either 90 or 270 degrees, it works. But not when it is 0 or 180 degrees. It moves very slow when it is rotated in-between angles.

What can be the reason for that?

 ![InkedScreenshot 2021-11-18 181649.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/8/5/85a92b78d22fcf57722d10b563454da38265b6c8.jpeg)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [November 18, 2021, 3:37pm UTC](https://forums.unrealengine.com/t/get-right-vector-does-not-work/491065/2 "2021-11-18T15:37:05Z")

</div>

Have you tried taking right vector from the actor?

![352495-screenshot-1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/3/d/d3d39a80206e6e93e898ae64d1714c30891cebe1.jpeg)

---

<div class="post-metadata">

**Author:** ![BenVlodgi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/benvlodgi/32/1194567_2.png) [@BenVlodgi](https://forums.unrealengine.com/u/BenVlodgi)\
**Post date:** [November 18, 2021, 3:42pm UTC](https://forums.unrealengine.com/t/get-right-vector-does-not-work/491065/3 "2021-11-18T15:42:04Z")

</div>

That would get the right of his character, not specifically the right direction compared to a 3rd person camera.

---

<div class="post-metadata">

**Author:** ![BenVlodgi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/benvlodgi/32/1194567_2.png) [@BenVlodgi](https://forums.unrealengine.com/u/BenVlodgi)\
**Post date:** [November 18, 2021, 3:42pm UTC](https://forums.unrealengine.com/t/get-right-vector-does-not-work/491065/4 "2021-11-18T15:42:31Z")

</div>

Multiple rotation value combinations can result in the same rotation direction.

To be safe: Instead of manipulating the rotator values directly. I would try doing `GetRightVector` from the `ControlRotation` then breaking the vector and remaking it with a 0 in the Z. That way you still have only lateral movement input.

 ![352524-answer100a.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/d/7/7d72ca6bca1c434ee4f098e7dd08414d3ec65f21.png)

---

<div class="post-metadata">

**Author:** ![tongucci](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tongucci](https://forums.unrealengine.com/u/tongucci)\
**Post date:** [November 18, 2021, 3:43pm UTC](https://forums.unrealengine.com/t/get-right-vector-does-not-work/491065/5 "2021-11-18T15:43:16Z")

</div>

I have rotated the actor 90 degrees and changed Get Right Vector with Get Forward Vector, it gave the same result.

Now I just printed strings for right vector: X: 0, Y:1, Z:0.

---

<div class="post-metadata">

**Author:** ![tongucci](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tongucci](https://forums.unrealengine.com/u/tongucci)\
**Post date:** [November 18, 2021, 3:45pm UTC](https://forums.unrealengine.com/t/get-right-vector-does-not-work/491065/6 "2021-11-18T15:45:41Z")

</div>

So I did as in the screenshot, connected Y axis to Get Right Vector, but it didn’t change anything.

 ![352496-screenshot-2021-11-18-184435.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/6/7/2679aecdf38446fe36f4ff819f82a2c222e6ca72.png)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [November 18, 2021, 3:46pm UTC](https://forums.unrealengine.com/t/get-right-vector-does-not-work/491065/7 "2021-11-18T15:46:17Z")

</div>

It’s hard to know what someone is doing with a character, there are so many place to check and uncheck boxes to do with inheriting and ignoring rotation…

---

<div class="post-metadata">

**Author:** ![tongucci](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tongucci](https://forums.unrealengine.com/u/tongucci)\
**Post date:** [November 18, 2021, 3:48pm UTC](https://forums.unrealengine.com/t/get-right-vector-does-not-work/491065/8 "2021-11-18T15:48:54Z")

</div>

When the chisel is possessed, there is a fixed camera for it, in the level.

---

<div class="post-metadata">

**Author:** ![tongucci](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tongucci](https://forums.unrealengine.com/u/tongucci)\
**Post date:** [November 18, 2021, 3:55pm UTC](https://forums.unrealengine.com/t/get-right-vector-does-not-work/491065/9 "2021-11-18T15:55:50Z")

</div>

Do you mean like this?

 ![352498-screenshot-2021-11-18-185453.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/9/c/19c406a44da0a4ac86cade1374b5fadb3b7847d0.png)

It didn’t work.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [November 18, 2021, 4:00pm UTC](https://forums.unrealengine.com/t/get-right-vector-does-not-work/491065/10 "2021-11-18T16:00:57Z")

</div>

Don’t zero the Y ( read again 😉 )

---

<div class="post-metadata">

**Author:** ![tongucci](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tongucci](https://forums.unrealengine.com/u/tongucci)\
**Post date:** [November 18, 2021, 4:19pm UTC](https://forums.unrealengine.com/t/get-right-vector-does-not-work/491065/11 "2021-11-18T16:19:24Z")

</div>

I tried everything. No matter what, the chisel only moves in the 0-180 axis within the level regardless of the relative angle. Never to the sides of the map.

Could you please share a screenshot of how it has to be blueprinted?

---

<div class="post-metadata">

**Author:** ![tongucci](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tongucci](https://forums.unrealengine.com/u/tongucci)\
**Post date:** [November 18, 2021, 5:32pm UTC](https://forums.unrealengine.com/t/get-right-vector-does-not-work/491065/12 "2021-11-18T17:32:40Z")

</div>

Even this does not work. Get Actor Up Vector works, Forward works as well, but Right does not.

 ![352506-screenshot-2021-11-18-203033.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/6/a/96adbfcdd2fc77ad7fe994b806168b72d6fe07f4.png)

---

<div class="post-metadata">

**Author:** ![BenVlodgi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/benvlodgi/32/1194567_2.png) [@BenVlodgi](https://forums.unrealengine.com/u/BenVlodgi)\
**Post date:** [November 18, 2021, 6:28pm UTC](https://forums.unrealengine.com/t/get-right-vector-does-not-work/491065/13 "2021-11-18T18:28:00Z")

</div>

I updated my answer with a screenshot

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [November 18, 2021, 6:29pm UTC](https://forums.unrealengine.com/t/get-right-vector-does-not-work/491065/14 "2021-11-18T18:29:39Z")

</div>

Like in Ben’s diagram.

---

<div class="post-metadata">

**Author:** ![tongucci](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tongucci](https://forums.unrealengine.com/u/tongucci)\
**Post date:** [November 18, 2021, 7:58pm UTC](https://forums.unrealengine.com/t/get-right-vector-does-not-work/491065/15 "2021-11-18T19:58:42Z")

</div>

Okay, now I did just as in the latest updated screenshot. It didn’t work either.

For some reason, the character is not moving within the level, horizontal in world space.

It moves up/down, forward/backward, but not left/right. When I rotate it 90 or 270 degrees, this time it moves left/right, but not forward/backward which is horizontal in the level.

I tried both with a gamepad and keyboard.

Attaching a screenshot to show better.

 ![352513-screenshot00004.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/a/1/5a17ba81a2a8fa5fb5189536746bb738e77516b2.jpeg)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [November 18, 2021, 8:07pm UTC](https://forums.unrealengine.com/t/get-right-vector-does-not-work/491065/16 "2021-11-18T20:07:33Z")

</div>

It’s basically impossible to tell from here.

If you make a new empty project, migrate the character to that project, zip it and put it up for download somewhere, I’ll take a look. But apart from that, I’m afraid you’re stuck with reading a lot about character control and vectors.

PS: I only have 4.27, so anything \<= 4.27 is good.

---

<div class="post-metadata">

**Author:** ![BenVlodgi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/benvlodgi/32/1194567_2.png) [@BenVlodgi](https://forums.unrealengine.com/u/BenVlodgi)\
**Post date:** [November 18, 2021, 8:13pm UTC](https://forums.unrealengine.com/t/get-right-vector-does-not-work/491065/17 "2021-11-18T20:13:15Z")

</div>

Yeah, we need to know more about your game setup.

- Is this a topdown game? 3rd person? 1st person?
- Is the Camera fixed, or can you rotate it?

---

<div class="post-metadata">

**Author:** ![tongucci](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tongucci](https://forums.unrealengine.com/u/tongucci)\
**Post date:** [November 19, 2021, 12:53am UTC](https://forums.unrealengine.com/t/get-right-vector-does-not-work/491065/18 "2021-11-19T00:53:19Z")

</div>

Here’s the link: [https://we.tl/t-dfuZkL5tDe](https://we.tl/t-dfuZkL5tDe)

I’ve placed five sets of these BPs in the level. Some of them are working, some of them are not for an unknown reason, like in my actual game level. Some of them work when rotating at any direction, some of them work on no direction, and some only work at certain rotations.

---

<div class="post-metadata">

**Author:** ![tongucci](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tongucci](https://forums.unrealengine.com/u/tongucci)\
**Post date:** [November 19, 2021, 12:54am UTC](https://forums.unrealengine.com/t/get-right-vector-does-not-work/491065/19 "2021-11-19T00:54:30Z")

</div>

I’ve put the link on ClockworkOcean’s message. It is a 1st person game, but when interaction with the panel, there is a fixed camera. Please check it out.

---

<div class="post-metadata">

**Author:** ![tongucci](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tongucci](https://forums.unrealengine.com/u/tongucci)\
**Post date:** [November 19, 2021, 3:44am UTC](https://forums.unrealengine.com/t/get-right-vector-does-not-work/491065/20 "2021-11-19T03:44:47Z")

</div>

I did a work around. I made an actor blueprint instead of the old character blueprint, and used add actor local offset node instead of the old movement inputs.

However, the chisel (actor) now moves and stops instantly while it used to move smooth because of being in fly movement mode before. If there is a way to make the movement smooth on add actor local offset node, that would help a lot.

[Next page](https://forums.unrealengine.com/t/get-right-vector-does-not-work/491065.md?page=2)
