Hi, I am having trouble understanding how to make sure that a raycast always shoots in relation to the object it's firing from.
I have a unique camera setup that the camera never moves, only a reticle overlay does.
My scene looks like this the green line represents the expected raycast direction and the orange the actual raycast direction
https://i.imgur.com/b3GWCHs.pngI came up with the solution of making the raycast source (reticle) always point towards a 2nd object before passing through it.
A top-down view would look like this
I cannot find anything in the ecosystem for this, so any help would be appreciated.