# Projectile speed increase problems

**URL:** <https://forums.unrealengine.com/t/projectile-speed-increase-problems/311139>\
**Category:** World Creation\
**Tags:** unreal-engine, velocity, speed, projectile, question\
**Created:** [March 15, 2015, 11:35pm UTC](https://forums.unrealengine.com/t/projectile-speed-increase-problems/311139 "2015-03-15T23:35:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_a39382bb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a39382bb](https://forums.unrealengine.com/u/anonymous_user_a39382bb)\
**Post date:** [March 15, 2015, 11:35pm UTC](https://forums.unrealengine.com/t/projectile-speed-increase-problems/311139/1 "2015-03-15T23:35:41Z")

</div>

So here is my problem… i want to make my projectile speed increase the faster my character is moving, But while my character isn’t moving the projectile shoots at a speed of 200 witch is what i want… but when i start moving the velocity overrides my projectile start speed and from their on out my projectile speed is 0 unless my character is moving… I want my projectile speed to always be 200 and increase as my character gets moving faster…please help!!

 ![34331-bp.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/6/5/c6552fe180b4c8d27dc049ad8a01d487a5ef970a.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a39382bb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a39382bb](https://forums.unrealengine.com/u/anonymous_user_a39382bb)\
**Post date:** [March 17, 2015, 2:43am UTC](https://forums.unrealengine.com/t/projectile-speed-increase-problems/311139/2 "2015-03-17T02:43:56Z")

</div>

Bump\>\>

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a39382bb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a39382bb](https://forums.unrealengine.com/u/anonymous_user_a39382bb)\
**Post date:** [March 18, 2015, 2:01pm UTC](https://forums.unrealengine.com/t/projectile-speed-increase-problems/311139/3 "2015-03-18T14:01:56Z")

</div>

Anyone???

---

<div class="post-metadata">

**Author:** ![DEDRICK](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DEDRICK](https://forums.unrealengine.com/u/DEDRICK)\
**Post date:** [April 14, 2015, 5:43pm UTC](https://forums.unrealengine.com/t/projectile-speed-increase-problems/311139/4 "2015-04-14T17:43:40Z")

</div>

Hi nu7

I was working on projectile inheritance last night and figured it out, hope this can help you. Everything was done in the FP\_blueprint, not the projectile blueprint but the math is the same either way

The problem has to do with World Velocity and Local Velocity. With local velocity(Projectiles), X is always the direction you are facing/firing. So to add your character velocity(world velocity) to a projectile, you need to change it from World to Local by using Unrotate Vector.

**Character Movement** → **Velocity** and **Get Actor Rotation** into **Unrotate vector**. Unrotate vector localized my velocity so that X/-X was Forward/Backwards and Y/-Y was Left/Right, I set this new vector up as a variable called Inheritance. Then it was simply Inheritance + 4000 on X Vector which I sent to Velocity in Local Space. 4000 represents muzzle velocity on X you want for the projectile.

[http://i.imgur.com/ALdbYHp.png](http://i.imgur.com/ALdbYHp.png)

[[Vector Math - How to add Current Player velocity and add it to Projectile? - Blueprint Visual Scripting - Unreal Engine Forums](https://forums.unrealengine.com/showthread.php?66689-Vector-Math-How-to-add-Current-Player-velocity-and-add-it-to-Projectile&p=271294&viewfull=1#post271294)][2]
