I’m working on a top down/twin stick shooter where the crosshair is offset from the player by 300-400 units and rotates with the player (behavior traditionally seen for this genre basically).
Right now I have the crosshair as a sprite, child of the player pawn capsule, only visible to the owner. This all works great except when the player gets close to an object and is facing it (e.g. a wall). Then the crosshair clips into the object/disappears.
I was thinking of putting the crosshair in the HUD, but not sure how to approach rotating HUD elements dynamically. In my case the player is always center of the screen so at least the crosshair would only need to rotate around a fixed point in the middle of the screen.