Im having problems using Raycast, please help!

Hi, hope you are doing good.

The problem I came across while developing my game is that I have a point from where bullets are fired, and a crosshair, so my thought was to use Raycast to instance a bullet where the raycast collides, but the for the system I needed to use to make the crosshair work I needed it to be a physics object, so the raycast collides with it and generates the bullet in the crosshair.

I also realized that solving this would present another problem, tha raycast only reaches the crosshair, so everything behind it wont be hit, and thats exactly what I want…

Can you guys give me a clue about how to solve this problem?

Thanks guys!