- Joined
- Oct 15, 2015
- Messages
- 55
- Reaction score
- 72
it's hard to explain.Could you elaborate a little? It sounds interesting, but I didn't get the full point you were making.
If you fire right in feont of you, the weapon will fire at a point right in front in an angle of 90 degrees at a point on an infnite distance. The target will always be in between the fire point and the point the weapon is shooting at, so the distance between your ship and the target doesn't matter. However, if the weapon would fire at the target cross, the distance between the target and your ship would influence the angle the projectile makes to hit the target.
for example: if the target is 100 m away and there are ten blocks between the center of your ship and the output of the weapon, the weapon would have to shoot at an angle of tangens 10° to hit the target. If the game would have to calculate that angle everytime you shoot, this would result into severe lag for any rapid fire weapons.
like I said, its hard to explain