Trebuchet simulation

Not sure where to put this topic, here or Assemblies so I'lltry both.

I read about a trebuchet simulation to teach CosmosMotion thatflings a ball on a rope. The arm of the trebuchet pulls the ropethat has a loop on one end that attaches to a hook. The ball ispulled through a trough untill it begins to become airborne. At apoint of the arm's arc, the ball/rope disconnects from the hook andflies off into never/never land.

What I'm trying to figure out is how to set up the asembly mates,both how to keep the ball in the trough until it can fall out andthe loop/hook that comes loose.

Any ideas?SolidworksFlow Simulation