Game Development Reference
In-Depth Information
al speed using gravity. This reduction, as you can see, is equal to gravity multiplied by
delta time from the previous frame. Since the vertical speed gets smaller as the time
passes, the vertical displacement in the next frame will be less than what it is in the cur-
rent frame. This holds until, at some point, the vertical speed reaches zero. This can be
observed by seeing that character ascendance gets slower and slower until the object stops
in the air, after that it starts to fall with a small speed and gets faster with the time.
Search WWH ::




Custom Search