4 ms·
Minor correction: > If you divide V by something like 0.0001 each frame, you will implement gravity. You will implement air resistance. Air resistance is prop
by itishappy 4y ago
Minor correction:
> If you divide V by something like 0.0001 each frame, you will implement gravity.
You will implement air resistance. Air resistance is proportional to the velocity, gravity is a constant offset.
V(n+1) = V(n) - drag * V(n) - gravity