WOLFRAM SYSTEM MODELER
Model for the collision between two PlanarMechanics bodies. Modeled as a stiff spring with a gap. The spring force is only exerted upon the bodies when they are in contact with each other; otherwise, the force is equal to 0. Has the option to add a dampening constant, which corresponds to friction during collision.
Description: Planar world model
Newton's cradle example setup using PlanarMechanics