3 ms·
Oh you're correct, I was trying to make the code more readable for the blog post and didn't even think of that! Thanks for the heads up I would of never caught
by IainWinter 6y ago
Oh you're correct, I was trying to make the code more readable for the blog post and didn't even think of that!
Thanks for the heads up I would of never caught that, and good info about different integrators, not going to pretend that I knew all of it. It makes sense though because the velocity used for the position would be a frame behind.
I was looking into the Runge-Kutta method, but it looked too complex for what I was doing.