Cannon projectiles from faster ships should be faster and do more damage, while projectiles from kiting ships should be slower and do less damage. This would add some value to high speed fighters and might make combat more dynamic since staying in motion is more important.
Higher projectile speed should also result in a higher range, keeping the projectile's lifetime constant.
Detailed explanation:
Velocity = motion vector including speed and direction
Speed = magnitude of velocity vector
Higher projectile speed should also result in a higher range, keeping the projectile's lifetime constant.
Detailed explanation:
Velocity = motion vector including speed and direction
Speed = magnitude of velocity vector
- Add firing ship's velocity to velocity of cannon projectiles
- On impact subtract target velocity from projectile velocity to get relative impact velocity
- Calculate relative impact speed
- Divide relative impact speed by base projectile speed to get damage multiplier
- Apply damage multiplier to projectile damage because higher impact speed should result in higher damager and vice versa