The video on the Lego implementation explains the mechanics of it: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=RLPVCJjTNgk" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=RLPVCJjTNgk</a>