OhMyCalc

Game Projectile Physics Calculator

Compute range, maximum height and flight time for an ideal ballistic projectile launched on flat ground — the core equations used by game physics engines.

How to Use the Game Projectile Physics Calculator

  1. Enter the launch speed in m/s.
  2. Enter the launch angle in degrees (0–90).
  3. Click Calculate.

使用场景

公式

R = v² · sin(2θ) / g. h = v² · sin²θ / (2g). t = 2v · sinθ / g. g = 9.81 m/s².

常见问题

What is the optimal launch angle?
On flat ground and with no drag, 45° maximises range for a given speed. Uphill shots favour angles below 45°, downhill shots above.
Does this include air drag?
No — it is the textbook vacuum model. Real arrows, bullets and cannon balls land 5–30% short of this range depending on drag coefficient and altitude.
Can I use it for Unity or Unreal?
Yes — the formulas match the built-in rigidbody gravity in both engines. For 3D launches, project the initial velocity onto the horizontal plane first.