Side-scroller shooter.

image
The idea of the game is quite simple. Yes, the player can only move to the left and right sides, his movement must be blocked in one coordinate so that it is impossible to move in depth.
In turn, the problem of aiming and “Aim Offset” works only when the player presses the right mouse button and holds it, only then he aims and can look up/down.
Accordingly, if the character is aiming, then his turn should be directed after the cursor.
If we talk about the arrow, it’s a difficult question. I’ll just attach a screenshot of the viewport, in the hope that this will be the answer.
Aiming Direction is the location of the line report for the tracing line. Since the binding to the socket caused the problem that if the player aims at a place in the center of the character, for example, where the “Pelvis” is located, then the character starts spinning like a helicopter.
ArrowSpawnPose - it’s clear from the name what it is, but in this case this arrow looks exactly where the cursor is pointing. It is also clear why this was done.

However, the development plans to make segments when the player will be able to aim not in one line with his coordinates, but on the sides, that is, further from the camera or vice versa towards the camera.