When you make a change to one behaviour it will activate a chain reaction and cause a shift in related behaviours as well. The continuous swinging motion of the Pendulum is created by the acquired momentum and the action of gravity.
If the pivot spot is connected and the weight and the rod experience no resistance as they travel, this moving back and forth continues. Here is the 3D simulation of the pendulum effect.
This project was created in 2019.