# Spawning Projectile from Bone towards center of screen

**URL:** <https://forums.unrealengine.com/t/spawning-projectile-from-bone-towards-center-of-screen/437949>\
**Category:** Blueprint\
**Tags:** projectile-movement, unreal-engine, UE4, Blueprint, question\
**Created:** [November 20, 2018, 1:33am UTC](https://forums.unrealengine.com/t/spawning-projectile-from-bone-towards-center-of-screen/437949 "2018-11-20T01:33:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MrBubblesLIVE](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MrBubblesLIVE](https://forums.unrealengine.com/u/MrBubblesLIVE)\
**Post date:** [November 20, 2018, 1:33am UTC](https://forums.unrealengine.com/t/spawning-projectile-from-bone-towards-center-of-screen/437949/1 "2018-11-20T01:33:59Z")

</div>

I have my projectile spawning from my RightHand bone segment and having it shoot somewhat towards the center of the screen towards my crosshair. But it’s shooting off to the right, I believe it’s because it’s not factoring in the rotation of the Bone but I’m not 100% on what the issue might be. I was going off this post’s mechanic for the projectile going towards the screen but can’t get it working quite right:

> **[Why is my projectile not shooting straight near my character?](https://forums.unrealengine.com/questions/85030/shooting-straight.html)**
>
> I have got a little crosshair on my screen and want the projectile to be shot at where-ever the crosshair is pointing. If the max speed is set high enough, it’ll go where-ever the crosshair is pointing at. But, when I aim at somewhere close to my...

 ![259910-targeting-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/8/1/b811e21ab557828ff0c0997b8ada1302c10e5230.png)

 ![259911-targeting-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/7/c/37c7696a0febe24da72d7881d1ed5f1981fa0148.png)

 ![259912-targeting-3.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/6/6/a660d2ce532e7f5197913aa9b36f9d460b4f132b.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5e132e2c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5e132e2c](https://forums.unrealengine.com/u/anonymous_user_5e132e2c)\
**Post date:** [November 29, 2018, 11:22am UTC](https://forums.unrealengine.com/t/spawning-projectile-from-bone-towards-center-of-screen/437949/2 "2018-11-29T11:22:43Z")

</div>

Try replacing the “Make Rot from X” node with either Find Look at Rotation ([Find Look at Rotation | Unreal Engine Documentation](https://api.unrealengine.com/INT/BlueprintAPI/Math/Rotator/FindLookatRotation/index.html)) or Get Azimuth and Elevation ([Get Azimuth and Elevation | Unreal Engine Documentation](https://api.unrealengine.com/INT/BlueprintAPI/Math/Vector/GetAzimuthandElevation/index.html)).

Neither does quite the job of the C++ command “ToOrientationRotator”, but it will do the job in this case.

---

<div class="post-metadata">

**Author:** ![MrBubblesLIVE](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MrBubblesLIVE](https://forums.unrealengine.com/u/MrBubblesLIVE)\
**Post date:** [November 29, 2018, 11:34pm UTC](https://forums.unrealengine.com/t/spawning-projectile-from-bone-towards-center-of-screen/437949/3 "2018-11-29T23:34:04Z")

</div>

I got it working by using the Find Look at Rotation:

 ![260939-targeting-works.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/7/9/679ce67f7731b7e380ecf2017c5c7beb6f4be385.png)

---

<div class="post-metadata">

**Author:** ![Vleitao](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vleitao](https://forums.unrealengine.com/u/Vleitao)\
**Post date:** [January 6, 2024, 10:53pm UTC](https://forums.unrealengine.com/t/spawning-projectile-from-bone-towards-center-of-screen/437949/4 "2024-01-06T22:53:19Z")

</div>

THANK YOUUUUUUUUU, I was struggling a bit with this and this worked perfectly

---

<div class="post-metadata">

**Author:** ![unit23](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/unit23/32/1223962_2.png) [@unit23](https://forums.unrealengine.com/u/unit23)\
**Post date:** [August 1, 2024, 7:32pm UTC](https://forums.unrealengine.com/t/spawning-projectile-from-bone-towards-center-of-screen/437949/5 "2024-08-01T19:32:42Z")

</div>

Works great!
