Deducing Time Of Flight - sh4rkman/SquadCalc GitHub Wiki

⬅️ Previous: Deducing Damage Radius

It can be interesting to know how many seconds our shots will take to hit the target, let's find out.

Formula

Again, if we know the weapon velocity and the angle that we're shooting, there's a formula for that :

$t = \dfrac{ v \times \sinθ + \sqrt{ (v \times \sinθ)^2 + 2gy} } {gravity}$

Where:

  • t is the time of flight (s)
  • v is our weapon muzzle velocity (m/s)
  • θ is the angle we're shooting our weapon (rad)
  • y is height difference between weapon and target (m)
  • gravity = 9.78

Application

Let's try this formula with our previous firing solution :

  • v = 110m/s
  • θ ≃ 1327 mil ≃ 1.305 rad
  • y = heightDifference = 0

$t = \dfrac{ 110 \times \sin(1.305) + \sqrt{ (110 \times \sin(1.305)^2} } {9.78} ≃ 21.7$

That's it : our shells will need 21.7s to travel from weapon to target.



⬅️ Previous: Deducing Damage Radius

⚠️ **GitHub.com Fallback** ⚠️