Pendulum with a sliding support

Init

 

This example uses the new addObject method.  Notice also the use of constraint and the particle interaction.