# 2.5D but shoot projectiles along 2D arc around character

**URL:** <https://forums.unrealengine.com/t/2-5d-but-shoot-projectiles-along-2d-arc-around-character/2083249>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [October 23, 2024, 4:29pm UTC](https://forums.unrealengine.com/t/2-5d-but-shoot-projectiles-along-2d-arc-around-character/2083249 "2024-10-23T16:29:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [October 23, 2024, 5:01pm UTC](https://forums.unrealengine.com/t/2-5d-but-shoot-projectiles-along-2d-arc-around-character/2083249/2 "2024-10-23T17:01:35Z")

</div>

You’re looking for `Line Plane Intersection`:

Some examples:

> [@Left Mouse button pressed and released equivalent in enhanced input (or drag and drop)](https://forums.unrealengine.com/t/left-mouse-button-pressed-and-released-equivalent-in-enhanced-input-or-drag-and-drop/1633884/18):
>
> Here’s some script allowing for picking up stuff and moving it in a specific plane only we determine ourselves manually: The green debug plane visualises what’s going on. In short: shoot a beam (trace) from the screen centre towards the projected mouse cursor, when it eventually intersects that plane (which is infinitely large), place the actor at the intersect world coordinate. If I change the normal: You could derive this Normal from the actor itself instead:

> [@Homeworld style rts control](https://forums.unrealengine.com/t/homeworld-style-rts-control/1353390/6):
>
> for a horizontal plane: for a vertical plane: we trace against horizontal unless a modifier key is held: More is needed to make it better. You could restrict axis for vertical adjustment like in @pezzott1’s example. Debug:

> [@Vector Calculation Question](https://forums.unrealengine.com/t/vector-calculation-question/479311/2):
>
> In the Player Blueprint: [[Image from Gyazo]](https://gyazo.com/77f913b00b1fb8b17e7b695e68f6c6dc) The method is completely geometry independent. No depth was specified in the request so I’ve used player’s current location rather than ground level. Depending on how it will work in the game (elevation, landscape complexity, slopes… this may need to be adjusted by shifting Plane Origin). In short: create an up-facing plane at player location trace from the camera to the mouse cursor projected into the world when the trace…

---

_[View the full topic](https://forums.unrealengine.com/t/2-5d-but-shoot-projectiles-along-2d-arc-around-character/2083249)._
