I have a gun that is positioned on the screen manually and I need to create a script in such a way that when I shoot, the bullet will reach the point where the target is targeting, which in this case is the coordinate of the half of the screen. >
I would also like to know how I can position the gun (via script) so that the barrel is aligned with the crosshair.