Debugging physics simulator.