News for hackers. Stuff that matters.
Re:Verlet Integration and Cloth Physics Simulation by cyber_kinetist on Monday June 23, 2025 @08:06AM (#44354925)
The most common integration method in physics engines for games is semi-implicit Euler, which the article is implying from the source code. I think you are confused with explicit (forward) Euler, which nobody really uses.
Re:Verlet Integration and Cloth Physics Simulation by Sharlin on Monday June 23, 2025 @12:19PM (#44357319)
For those not in the know (I had to double-check myself), the difference between explicit and semi-implicit Euler is simply the order in which position and velocity are updated.

Explicit updates position with the old velocity:

    particle.position += particle.velocity * dt;
    particle.velocity += acceleration * dt;
Semi-implicit (symplectic) with the new velocity:

    particle.velocity += acceleration * dt;
    particle.position += particle.velocity * dt;