# \#forward-vector

**URL:** https://forums.unrealengine.com/tag/forward-vector/1887.md

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

---

## [What Is A Forward/Up/Etc Vector?](https://forums.unrealengine.com/t/what-is-a-forward-up-etc-vector/287120)

<div class="topic-metadata">

**Author:** [@AllenGingrich](https://forums.unrealengine.com/u/AllenGingrich)\
**Replies:** 8\
**Last updated:** [February 10, 2025, 8:00pm UTC](https://forums.unrealengine.com/t/what-is-a-forward-up-etc-vector/287120 "2025-02-10T20:00:25Z")

</div>

I know this sounds stupid, and it’s probably self explanatory, but I just want to confirm I’m right in my insinuations on what these mean. I can’t find anything anywhere about directional vectors. Where exactly is a “for…

---

## [Get forward vector from scene component returning 0 after Build](https://forums.unrealengine.com/t/get-forward-vector-from-scene-component-returning-0-after-build/453523)

<div class="topic-metadata">

**Author:** [@Aoshi\_Kearun](https://forums.unrealengine.com/u/Aoshi_Kearun)\
**Replies:** 2\
**Last updated:** [January 24, 2024, 11:33pm UTC](https://forums.unrealengine.com/t/get-forward-vector-from-scene-component-returning-0-after-build/453523 "2024-01-24T23:33:56Z")

</div>

I participated on a game jam last weekend and made a DK barrel clone with spaceships. So, basically the game is throwing yourself from planet to planet using a “Set physics linear velocity” in the direction of an arrow …

---

## [Actor forward vector not working properly](https://forums.unrealengine.com/t/actor-forward-vector-not-working-properly/367630)

<div class="topic-metadata">

**Author:** [@Boagz](https://forums.unrealengine.com/u/Boagz)\
**Replies:** 18\
**Last updated:** [January 15, 2024, 12:04am UTC](https://forums.unrealengine.com/t/actor-forward-vector-not-working-properly/367630 "2024-01-15T00:04:13Z")

</div>

I’m creating a 2d fighting game and I’m stuck on why I’m getting different values from different blueprints for my actor’s forward vector. When I print my actor’s forward vector from the actual character blueprint event …

---

## [Calculate Distance From Forward Vector to Desired Axis Value](https://forums.unrealengine.com/t/calculate-distance-from-forward-vector-to-desired-axis-value/1606632)

<div class="topic-metadata">

**Author:** [@Q-18S](https://forums.unrealengine.com/u/Q-18S)\
**Replies:** 1\
**Last updated:** [January 11, 2024, 3:38pm UTC](https://forums.unrealengine.com/t/calculate-distance-from-forward-vector-to-desired-axis-value/1606632 "2024-01-11T15:38:37Z")

</div>

Hello, I have been trying to create a function that creates a line trace a certain length but ends if it reaches a given Axis (Axis Value change constantly). The line trace starts from the camera forward vector and shoul…

---

## [Making player head rotate to the direction the camera is facing](https://forums.unrealengine.com/t/making-player-head-rotate-to-the-direction-the-camera-is-facing/1470099)

<div class="topic-metadata">

**Author:** [@ChristianWickstr](https://forums.unrealengine.com/u/ChristianWickstr)\
**Replies:** 2\
**Last updated:** [December 5, 2023, 12:38am UTC](https://forums.unrealengine.com/t/making-player-head-rotate-to-the-direction-the-camera-is-facing/1470099 "2023-12-05T00:38:46Z")

</div>

I want to rotate the player’s head to the direction the camera is facing. How can I take account for the forward vector when I rotate the head? I have tried “Rotation From X Vector” and other solutions, but I’m stuck. T…

---

## [Camera forward vector differs between Client and Server](https://forums.unrealengine.com/t/camera-forward-vector-differs-between-client-and-server/369822)

<div class="topic-metadata">

**Author:** [@Gaidline](https://forums.unrealengine.com/u/Gaidline)\
**Replies:** 2\
**Last updated:** [April 24, 2023, 7:45pm UTC](https://forums.unrealengine.com/t/camera-forward-vector-differs-between-client-and-server/369822 "2023-04-24T19:45:50Z")

</div>

I have an Actor Component in which I use a Camera of the Owner to calculate Trace. The problem is, when I run it in Client - Server mode, I am getting two different forward vectors from the same Camera. Both values are c…

---

## [Forward vector not correctly functioning?](https://forums.unrealengine.com/t/forward-vector-not-correctly-functioning/777034)

<div class="topic-metadata">

**Author:** [@Tijdlab](https://forums.unrealengine.com/u/Tijdlab)\
**Replies:** 6\
**Last updated:** [February 23, 2023, 1:47pm UTC](https://forums.unrealengine.com/t/forward-vector-not-correctly-functioning/777034 "2023-02-23T13:47:48Z")

</div>

Hi everyone! I’m creating a cannon and have run into some unexpected behaviour; The 3 cannons on the left work but the rest don’t or have a small offset. I’m using the forward vector of an arrow (which points…

---

## [How to apply velocity via Forward Vector in any direction](https://forums.unrealengine.com/t/how-to-apply-velocity-via-forward-vector-in-any-direction/314607)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_2701b401](https://forums.unrealengine.com/u/anonymous_user_2701b401)\
**Replies:** 3\
**Last updated:** [September 5, 2022, 7:12am UTC](https://forums.unrealengine.com/t/how-to-apply-velocity-via-forward-vector-in-any-direction/314607 "2022-09-05T07:12:33Z")

</div>

When the BP applies velocity it only applies it in the X-axis. So if i’m facing the other way the velocity will push me backwards instead. How do I change this so it works regardless of rotation? I assumed velocity was h…

---

## [Launch player at the same velocity but in a different direction (Super Mario GroundPound Leap)](https://forums.unrealengine.com/t/launch-player-at-the-same-velocity-but-in-a-different-direction-super-mario-groundpound-leap/490913)

<div class="topic-metadata">

**Author:** [@Cat419](https://forums.unrealengine.com/u/Cat419)\
**Replies:** 3\
**Last updated:** [November 17, 2021, 7:28pm UTC](https://forums.unrealengine.com/t/launch-player-at-the-same-velocity-but-in-a-different-direction-super-mario-groundpound-leap/490913 "2021-11-17T19:28:17Z")

</div>

I’m trying to give the player the ability to launch themselves at the same velocity with some extra height. This works relatively well, however it does not account for the player changing the direction they are facing r…

---

## [How to Compare the Orientation between a Character and its Camera](https://forums.unrealengine.com/t/how-to-compare-the-orientation-between-a-character-and-its-camera/480574)

<div class="topic-metadata">

**Author:** [@Knightemaric](https://forums.unrealengine.com/u/Knightemaric)\
**Replies:** 1\
**Last updated:** [March 19, 2021, 7:13pm UTC](https://forums.unrealengine.com/t/how-to-compare-the-orientation-between-a-character-and-its-camera/480574 "2021-03-19T19:13:49Z")

</div>

I’m making a 3D fighting game where the character can act in 4 directions. Forward, Left, Right, and Rear. The player can input forward, left, right, and back inputs to perform an animation in these 4 directions. Because…

---

## [Finding if two forward vectors face each other](https://forums.unrealengine.com/t/finding-if-two-forward-vectors-face-each-other/401893)

<div class="topic-metadata">

**Author:** [@Lonesmith](https://forums.unrealengine.com/u/Lonesmith)\
**Replies:** 3\
**Last updated:** [December 11, 2020, 12:02am UTC](https://forums.unrealengine.com/t/finding-if-two-forward-vectors-face-each-other/401893 "2020-12-11T00:02:10Z")

</div>

With the dot product of both forward vectors you can get which direction they are facing. If the dot product is greater than 0 both vectors are pointing in the same direction, if the dot product of both forward vectors …

---

## [Set character mesh to rotation of the camera](https://forums.unrealengine.com/t/set-character-mesh-to-rotation-of-the-camera/474325)

<div class="topic-metadata">

**Author:** [@AgentArachnid66](https://forums.unrealengine.com/u/AgentArachnid66)\
**Replies:** 1\
**Last updated:** [November 12, 2020, 9:28am UTC](https://forums.unrealengine.com/t/set-character-mesh-to-rotation-of-the-camera/474325 "2020-11-12T09:28:24Z")

</div>

I’m trying to make quick turn functionality that will snap the player to the camera’s forward vector. I have this: It works alright, but there are a few issues: Doesn’t consistently snap the player at the same degre…

---

## [Trace from weapon is not straight while using fixed camera](https://forums.unrealengine.com/t/trace-from-weapon-is-not-straight-while-using-fixed-camera/456775)

<div class="topic-metadata">

**Author:** [@bathorysthroat](https://forums.unrealengine.com/u/bathorysthroat)\
**Replies:** 3\
**Last updated:** [October 11, 2019, 12:17am UTC](https://forums.unrealengine.com/t/trace-from-weapon-is-not-straight-while-using-fixed-camera/456775 "2019-10-11T00:17:54Z")

</div>

Hi, I’m working on a game with a fixed camera system and I have a spear trace that starts at the barrel of a gun but ends at the floor?? This is how I set up the trace: This is the outcome of that trace: The tra…

---

## [FirstPersonCameraComponent-\>GetForwardVector(); from another class?](https://forums.unrealengine.com/t/firstpersoncameracomponent-getforwardvector-from-another-class/452900)

<div class="topic-metadata">

**Author:** [@Novacaine\_1](https://forums.unrealengine.com/u/Novacaine_1)\
**Replies:** 2\
**Last updated:** [July 27, 2019, 9:19pm UTC](https://forums.unrealengine.com/t/firstpersoncameracomponent-getforwardvector-from-another-class/452900 "2019-07-27T21:19:42Z")

</div>

How would I get FirstPersonCameraComponent-\>GetForwardVector(); from another class? The player (PlayerBase.cpp) calls the function Fire(); located in WeaponBase.cpp and it will shoot either a line trace or a projectile d…

---

## [How to get the forward vector in a material?](https://forums.unrealengine.com/t/how-to-get-the-forward-vector-in-a-material/361685)

<div class="topic-metadata">

**Author:** [@Davision](https://forums.unrealengine.com/u/Davision)\
**Replies:** 6\
**Last updated:** [July 25, 2019, 3:43pm UTC](https://forums.unrealengine.com/t/how-to-get-the-forward-vector-in-a-material/361685 "2019-07-25T15:43:34Z")

</div>

The only thing I can find is object orientation and that is only for the up vector. Or am I missing something here? Setting the forward vector through a dynamic material every tick inside the material would be not a wor…

---

## [Moving in vector direction rather than to a specific location](https://forums.unrealengine.com/t/moving-in-vector-direction-rather-than-to-a-specific-location/452725)

<div class="topic-metadata">

**Author:** [@caphi78](https://forums.unrealengine.com/u/caphi78)\
**Replies:** 1\
**Last updated:** [July 24, 2019, 11:20am UTC](https://forums.unrealengine.com/t/moving-in-vector-direction-rather-than-to-a-specific-location/452725 "2019-07-24T11:20:30Z")

</div>

Hi! I’m working on a little project in my spare time inspired by 90’s style 3D platformers. I am trying to create a “skidding” effect in which, if the character is moving at a high enough speed and moves in the opposite…

---

## [ActorForwardVector does not change](https://forums.unrealengine.com/t/actorforwardvector-does-not-change/452129)

<div class="topic-metadata">

**Author:** [@Abdul\_Hasan\_Ali](https://forums.unrealengine.com/u/Abdul_Hasan_Ali)\
**Replies:** 1\
**Last updated:** [July 12, 2019, 12:06pm UTC](https://forums.unrealengine.com/t/actorforwardvector-does-not-change/452129 "2019-07-12T12:06:15Z")

</div>

So i have a bullet. No matter which direction it goes to, the getActorForwardVector() always returns 0,0,1. Any ideas?

---

## [How to move an object in player direction without physics?](https://forums.unrealengine.com/t/how-to-move-an-object-in-player-direction-without-physics/443624)

<div class="topic-metadata">

**Author:** [@Re4verbot](https://forums.unrealengine.com/u/Re4verbot)\
**Replies:** 1\
**Last updated:** [February 18, 2019, 3:38pm UTC](https://forums.unrealengine.com/t/how-to-move-an-object-in-player-direction-without-physics/443624 "2019-02-18T15:38:07Z")

</div>

I am trying to push an object. Essentially all I want to do is get the direction of the player, and when they hit the push button, the object finds that direction, and based on it, decides where to go. For example, play…

---

## [Event tick set relative location forward vector doesn't work](https://forums.unrealengine.com/t/event-tick-set-relative-location-forward-vector-doesnt-work/432144)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_51f1018b](https://forums.unrealengine.com/u/anonymous_user_51f1018b)\
**Replies:** 1\
**Last updated:** [August 26, 2018, 12:56am UTC](https://forums.unrealengine.com/t/event-tick-set-relative-location-forward-vector-doesnt-work/432144 "2018-08-26T00:56:42Z")

</div>

Hello. I’m new to unreal engine, specially to blueprints. I had a strange idea of making melee actor blueprint. I wanted my actor to be in front of the controlled pawn every frame. So, i made this blueprint: The rota…

---

## [What exactly is "forward" in UnrealEngine?](https://forums.unrealengine.com/t/what-exactly-is-forward-in-unrealengine/285082)

<div class="topic-metadata">

**Author:** [@kat0r](https://forums.unrealengine.com/u/kat0r)\
**Replies:** 8\
**Last updated:** [August 22, 2018, 9:38am UTC](https://forums.unrealengine.com/t/what-exactly-is-forward-in-unrealengine/285082 "2018-08-22T09:38:48Z")

</div>

Hi, when I add an Mesh to UE4, it looks like +Y is forward, like in this picture: On the other hand, in code/blueprints, +X is the forward axis. Which means that if I use FindLookAtRotation(), my model will be rotat…

---

## [how to get LineTrace visible and longer then back to invisible and shorter?](https://forums.unrealengine.com/t/how-to-get-linetrace-visible-and-longer-then-back-to-invisible-and-shorter/416657)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_d4fd9bd5](https://forums.unrealengine.com/u/anonymous_user_d4fd9bd5)\
**Replies:** 3\
**Last updated:** [February 13, 2018, 8:54am UTC](https://forums.unrealengine.com/t/how-to-get-linetrace-visible-and-longer-then-back-to-invisible-and-shorter/416657 "2018-02-13T08:54:03Z")

</div>

---

## [Move pawn along forward/right vectors](https://forums.unrealengine.com/t/move-pawn-along-forward-right-vectors/411215)

<div class="topic-metadata">

**Author:** [@MartyBro](https://forums.unrealengine.com/u/MartyBro)\
**Replies:** 11\
**Last updated:** [December 6, 2017, 11:30am UTC](https://forums.unrealengine.com/t/move-pawn-along-forward-right-vectors/411215 "2017-12-06T11:30:34Z")

</div>

I have created a pawn that moves along the x and y axis, and rotates left and right. However, when I rotate, the pawn still moves along the original x and y axis, so it doesn’t look right when it moves after rotating. Ho…

---

## [Move actor in four directions based on forward vector (BP)](https://forums.unrealengine.com/t/move-actor-in-four-directions-based-on-forward-vector-bp/397922)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_a4e2b932](https://forums.unrealengine.com/u/anonymous_user_a4e2b932)\
**Replies:** 1\
**Last updated:** [July 26, 2017, 6:14pm UTC](https://forums.unrealengine.com/t/move-actor-in-four-directions-based-on-forward-vector-bp/397922 "2017-07-26T18:14:51Z")

</div>

I’m having a bit of trouble getting this to work. I want my actor to move relative to its forward vector. I can get it to move forward easily, but it doesn’t work when I try to get it to move backwards. I want to be able…

---

## [Local offset and world offset not working as expected](https://forums.unrealengine.com/t/local-offset-and-world-offset-not-working-as-expected/394100)

<div class="topic-metadata">

**Author:** [@EmilioLaiso](https://forums.unrealengine.com/u/EmilioLaiso)\
**Replies:** 0\
**Last updated:** [May 20, 2017, 12:18pm UTC](https://forums.unrealengine.com/t/local-offset-and-world-offset-not-working-as-expected/394100 "2017-05-20T12:18:44Z")

</div>

I’m trying to create bullets that move on the surface of a sphere, but the AddActorLocalOffset and AddActorWorldOffset are not working as expected. Here’s a screenshot of a bullet: The pink arrow is the actor’s forw…

---

## [How to apply rotation to an object after force is already applied](https://forums.unrealengine.com/t/how-to-apply-rotation-to-an-object-after-force-is-already-applied/387065)

<div class="topic-metadata">

**Author:** [@J3WD4Z](https://forums.unrealengine.com/u/J3WD4Z)\
**Replies:** 0\
**Last updated:** [March 6, 2017, 5:22am UTC](https://forums.unrealengine.com/t/how-to-apply-rotation-to-an-object-after-force-is-already-applied/387065 "2017-03-06T05:22:14Z")

</div>

Hello, I am trying to make an wheelchair rotate after adding an impulse and have the direction of the impulse change based don’t he wheelchairs current forward vector. Every instance I’ve attempted to rotate the object …

---

## [How to maintain player velocity on Launch Character?](https://forums.unrealengine.com/t/how-to-maintain-player-velocity-on-launch-character/373089)

<div class="topic-metadata">

**Author:** [@Shirk](https://forums.unrealengine.com/u/Shirk)\
**Replies:** 1\
**Last updated:** [October 13, 2016, 7:06pm UTC](https://forums.unrealengine.com/t/how-to-maintain-player-velocity-on-launch-character/373089 "2016-10-13T19:06:04Z")

</div>

When I move forwards and jump, if I use Launch Character node to push my character forwards in the air, it causes my player to lose all momentum. Is there a fix for this?

---

## [Actor Forward vector not working properly](https://forums.unrealengine.com/t/actor-forward-vector-not-working-properly/367587)

<div class="topic-metadata">

**Author:** [@Boagz](https://forums.unrealengine.com/u/Boagz)\
**Replies:** 3\
**Last updated:** [August 19, 2016, 3:41pm UTC](https://forums.unrealengine.com/t/actor-forward-vector-not-working-properly/367587 "2016-08-19T15:41:53Z")

</div>

I’m creating a 2d fighting game and I’m stuck on why I’m getting different values from different blueprints for my actor’s forward vector. When I print my actor’s forward vector from the actual character blueprint event …

---

## [Forward/Up/Right Vector とは？ (翻訳/要約)](https://forums.unrealengine.com/t/forward-up-right-vector/363197)

<div class="topic-metadata">

**Author:** [@ymars](https://forums.unrealengine.com/u/ymars)\
**Replies:** 2\
**Last updated:** [July 7, 2016, 4:59am UTC](https://forums.unrealengine.com/t/forward-up-right-vector/363197 "2016-07-07T04:59:05Z")

</div>

(以下は、英語スレッドの質問を翻訳/要約したものです。) 非常に基礎的な質問で恥ずかしいのですが (しかも名前のとおりなのでしょうから)、Forward/Up/Right/Left Vector の意味を確認したいのです。どこにも説明が見つからなかったものですから。Forward vector とは、コンポーネントまたはアクタにおいて正確にはどのようなものなのでしょうか？ Asked by AllenGingrich 英文スレッド …

---

## [Forward vector value gets offset when nesting a blueprint](https://forums.unrealengine.com/t/forward-vector-value-gets-offset-when-nesting-a-blueprint/348703)

<div class="topic-metadata">

**Author:** [@monodrobe](https://forums.unrealengine.com/u/monodrobe)\
**Replies:** 11\
**Last updated:** [February 26, 2016, 8:53pm UTC](https://forums.unrealengine.com/t/forward-vector-value-gets-offset-when-nesting-a-blueprint/348703 "2016-02-26T20:53:22Z")

</div>

i posted this earlier as a question not seeing the bug section at first, and i ve nailed down the exact issue now i believe I ve got a basic third person movement controller, get values for the forward and right vectors…

---

## [Forward Vector Mismatch on Maya and UE4](https://forums.unrealengine.com/t/forward-vector-mismatch-on-maya-and-ue4/344679)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_089a4978](https://forums.unrealengine.com/u/anonymous_user_089a4978)\
**Replies:** 0\
**Last updated:** [January 20, 2016, 9:51am UTC](https://forums.unrealengine.com/t/forward-vector-mismatch-on-maya-and-ue4/344679 "2016-01-20T09:51:46Z")

</div>

I imported a model that is made on Maya to use in blueprint splines. Forward vector was wrong, but I have rotated it 90 degrees while importing and it seems to be okay. But when I have tried to add lod1, it directly impo…

[Next page](https://forums.unrealengine.com/tag/forward-vector/1887.md?match_all_tags=true&page=1&tags%5B%5D=forward-vector)
