Download

how to position crosshair

hi guys im trying to add a crosshair to my project and i have done it the way i found online which puts it in the center of the screen and this has worked fine for most games but in this game, the problem is the camera is far back and the player is far forward causing it to make the crosshair line up where the characters head is when really the crosshair should be further forward in front of the character . i have done a crude screenshot to show what i mean here

see really it should be in front of the character roughly where i have done the yellow circle.

any ideas guys thanks

here is my ui setup just in case it helps

nevermind i figured it out had to asjust the anchors and change the x pos to give an offset based off the camera pos