AndyPett said:
Am I correct to assume that you have a 3rd person view where the camera is behind and slightly above the spaceship, and the laser is coming out too low?
Yes, but it's coming from where it's supposed to come from - the ship's laser cannon.
AndyPett said:
If this is the case, is there any reason why you can't do a Raycast from the ship's weapon exit point to the camera center (middle of the crosshair)?
But where is the camera center? The laser shoots up to 500 meters into the distance but the target could be closer and then it wouldn't be hit when the crosshairs is directly pointed at it.
On the other hand, if I used the camera center as the hitbox for the laser and it shot straight, the enemy would think they avoided it because they were above the particle effect, but they were actually in the hitbox for the camera.