dt
. The small change in momentum, defined by dp
is simply the force vector multiplied by dt
, the time interval. Once again, we use dt
here because it scales the simulation to real time no matter what the frame rate of our virtual universe is set to.dv
, updating the velocity each frame:dt
.