News for hackers. Stuff that matters.
Re:“When are we going to use this in our everyday life?” (2017) by itishappy on Tuesday October 04, 2022 @06:42PM (#33088131)
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

There are no comments on this comment yet.