Coping with friction for non-penetrating rigid body simulation | Synapse