# How to apply velocity via Forward Vector in any direction

**URL:** <https://forums.unrealengine.com/t/how-to-apply-velocity-via-forward-vector-in-any-direction/314607>\
**Category:** World Creation\
**Tags:** forward-vector, how-to, direction, rotation, unreal-engine, velocity, question\
**Created:** [April 10, 2015, 9:01pm UTC](https://forums.unrealengine.com/t/how-to-apply-velocity-via-forward-vector-in-any-direction/314607 "2015-04-10T21:01:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_2701b401](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2701b401](https://forums.unrealengine.com/u/anonymous_user_2701b401)\
**Post date:** [April 10, 2015, 9:01pm UTC](https://forums.unrealengine.com/t/how-to-apply-velocity-via-forward-vector-in-any-direction/314607/1 "2015-04-10T21:01: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 handled locally for the player.

---

<div class="post-metadata">

**Author:** ![TK-Master](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TK-Master](https://forums.unrealengine.com/u/TK-Master)\
**Post date:** [April 11, 2015, 1:50am UTC](https://forums.unrealengine.com/t/how-to-apply-velocity-via-forward-vector-in-any-direction/314607/2 "2015-04-11T01:50:19Z")

</div>

Use the rotate vector node or the get forward vector node.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2701b401](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2701b401](https://forums.unrealengine.com/u/anonymous_user_2701b401)\
**Post date:** [April 11, 2015, 11:28am UTC](https://forums.unrealengine.com/t/how-to-apply-velocity-via-forward-vector-in-any-direction/314607/3 "2015-04-11T11:28:31Z")

</div>

Thank you! rotate vector node works exactly as I need it to.

---

<div class="post-metadata">

**Author:** ![TasKall](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TasKall](https://forums.unrealengine.com/u/TasKall)\
**Post date:** [September 5, 2022, 7:12am UTC](https://forums.unrealengine.com/t/how-to-apply-velocity-via-forward-vector-in-any-direction/314607/4 "2022-09-05T07:12:33Z")

</div>

I have the same problem, I want to set the velocity of my vehicle by an external source (its an arduino project and the max velocity will be managed by a potentiometer) but i need the forward velocity not in a specific axis. How did you mange to achieve this?

Can you please attach a screenshot?
