# Variable To Control Initial Velocity?

**URL:** <https://forums.unrealengine.com/t/variable-to-control-initial-velocity/343222>\
**Category:** World Creation\
**Tags:** projectilemovement, unreal-engine, velocity, projectile, question, Blueprint\
**Created:** [January 5, 2016, 10:58pm UTC](https://forums.unrealengine.com/t/variable-to-control-initial-velocity/343222 "2016-01-05T22:58:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_ecdf92691](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ecdf92691](https://forums.unrealengine.com/u/anonymous_user_ecdf92691)\
**Post date:** [January 5, 2016, 10:58pm UTC](https://forums.unrealengine.com/t/variable-to-control-initial-velocity/343222/1 "2016-01-05T22:58:09Z")

</div>

Hi there, Im very new and trying to have a character throw a rock.  
I’ve got the projectile spawning in front of the character, with an initial velocity of 0, so it just falls to the ground.  
Im planning on having a “Hold to throw farther” Kind of thing, so i need to inital velocity to be changeable.  
Ive tried using Set velocity in Local Space in the construction script, but it does nothing.  
This is what I have:

 ![73037-snipsnip.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/5/5/455f7d5ae8cfc525acfc54f2ba776a36526ee19c.png)

Ive looked at every other question on this forum and cant get it to work, how do I set the velocity at spawn?

\*Ive tried following [Change projectile speed on spawn - World Creation - Epic Developer Community Forums](https://answers.unrealengine.com/questions/14921/change-projectile-speed-on-spawn.html)  
But i cant get the set Initial speed / target thing :S  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![TJ\_V](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tj_v/32/1008648_2.png) [@TJ\_V](https://forums.unrealengine.com/u/TJ_V)\
**Post date:** [January 7, 2016, 9:33pm UTC](https://forums.unrealengine.com/t/variable-to-control-initial-velocity/343222/2 "2016-01-07T21:33:10Z")

</div>

Hi Whisper,

Give this setup a try. I added this to the 1st Person Template player character.

Make sure to set the Projectiles ‘Initial Speed’ to 0 and the ‘Velocity’ x-value to 0.

 ![73368-chargeshot01.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/8/3/c83a3cc0c192bb8af15868cdf4a88631a8fa9c49.png)

Let me know if you have any questions.

Cheers,

TJ
