|
![](/i/fill.gif) |
> #declare Velocity = Velocity * (1 - (k * TimeStep));
This only works on the assumption that
Velocity * .8
is equal to
Velocity * .9 * .9
But that isn't true. Velocity * .9 * .9 is equal to Velocity * .81. This is
close to .8, but when you start cutting off larger amounts (like .4), the
difference becomes significant (Velocity * (1-.4-.4) = Velocity * .2 is very
different than Velocity*.4*.4 = Velocity*.16).
Over a large number of frames, though, even these small differences may
create large changes in the animation. The problem is that, while the
constant is related to the framerate, it's not *linearly* related.
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|
![](/i/fill.gif) |