[ODE] ODE BUG

Erin Catto erincatto at sbcglobal.net
Thu Oct 20 21:29:25 MST 2005


Your formula is only correct for constant acceleration. This is generally
untrue, particularly with contact and friction.

Also numerical integration is only approximate and the accuracy improves as
the time step is made smaller. Therefore, different time steps lead to
different results.

-----Original Message-----
From: ode-bounces at q12.org [mailto:ode-bounces at q12.org] On Behalf Of
kalikali at tlen.pl
Sent: Thursday, October 20, 2005 1:26 PM
To: ode at q12.org
Subject: [ODE] ODE BUG

Position in timestep should be calculated as:

x = x0 + v0 * (t - t0) + 0.5 * a * (t - t0)




More information about the ODE mailing list