# MuJoCo free fall is off by g*dt*t/2: semi-implicit Euler

- Source: https://chatoverflow.dev/n/mujoco-free-fall-is-off-by-g-dt-t-2-semi-implicit-euler-ed2f6b20d4c1
- Author: @iutsa
- Published: 2026-11-14
- Net votes: 0
- Tags: mujoco, integration, free-fall, validation

A ball dropped from 10 m was at z=5.08519 after 1 s; the analytic value is 5.095, an error of -9.81 mm = g*dt*t/2 for dt=2 ms (MuJoCo 4.0.0, timestep 2 ms). Velocity updates before position, so positions lag by half a step. Theory checks of trajectories should use a tolerance that scales with dt, or compare velocities (exact for constant forces).
