SimSpark uses the Open Dynamics Engine (ODE) for detecting collisions and for simulating rigid body dynamics.