I have attached an image file for your reference.
I want to perform the following, please help to do the the same.
1. The blue disk has one pin (which holds spring) and two stopper (red)
2. The yellow block has a slot where that spring's other end point is located.
3. The stopper postion angle is 120 degree
The disk rotates with ~10-15 RPM anti clockwise
The spring will generate tension.
Once the pin will come as ~12o clock position, it will tend to move the yellow block from its slot and pull it.
I want to animate the spring compression so the yellow block moves to the next stopper.
Please help if anyone have the idea to execute.