# Side-scroller shooter.

**URL:** <https://forums.unrealengine.com/t/side-scroller-shooter/1972846>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [August 12, 2024, 2:31pm UTC](https://forums.unrealengine.com/t/side-scroller-shooter/1972846 "2024-08-12T14:31:05Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![SaimonForward](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/saimonforward/32/974735_2.png) [@SaimonForward](https://forums.unrealengine.com/u/SaimonForward)\
**Post date:** [August 13, 2024, 4:51am UTC](https://forums.unrealengine.com/t/side-scroller-shooter/1972846/3 "2024-08-13T04:51:59Z")

</div>

I know what you mean. Before that, I used this guide.

> [@Line Trace from a 3d point to mouse location](https://forums.unrealengine.com/t/line-trace-from-a-3d-point-to-mouse-location/237661/3):
>
> You’re tracing with a fixed distance of 500, replacing the projection’s X with a fixed value. It’s actually hard to imagine how that would look like, a strangely distorted / twisted undulating surface mayhaps? cool, for sure. I want this trace to stay on the same plane as my character, so the X value of the start point & end point should be the same. Consider the following: green_circle create a virtual plane where the character is and point it towards X (Plane Normal 1,0,0) …

In general, it worked correctly and was even more suitable for my project, since I plan to introduce episodes when the player will be able to shoot deep, and not just in one plane. However, then I couldn’t figure out how to pass “Pitch” and “Yaw” in order for “Aim Offset” to work. However, when I tried to adjust the depth so that the player could shoot not only to the sides, the sight goes to a certain invisible edge - it went to zero coordinates and that was the end of it. Could you tell me how from the above guide you can transfer “Pitch” and “Yaw” to an Animated BP?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/6/b/f6b98ba2ae81ffc72ddc46124c13f0f920c95557.png)

---

_[View the full topic](https://forums.unrealengine.com/t/side-scroller-shooter/1972846)._
