Rigid-Body Dynamics with Friction and Impact | Synapse