The red sphere denotes the position of the target, and the green sphere is the direction in which the gun should aim to hit the target. I discovered this is not specific to Elven Ruins, as in the map, the ground level is at around 7000 Z units. If I keep the gun near the origin, then it works fine, but if I keep the gun way above the ground, then it points downward. I feel there is some calculation mistake going on.
The red sphere denotes the position of the target, and the green sphere is the direction in which the gun should aim to hit the target. I discovered this is not specific to Elven Ruins, as in the map, the ground level is at around 7000 Z units. If I keep the gun near the origin, then it works fine, but if I keep the gun way above the ground, then it points downward. I feel there is some calculation mistake going on.