I am trying to figure out how to use Blender to simulate a real world application. I'm wondering if Blender will allow me to create a response to a stimulus or whether I have to mathematically calculate the response and then (somehow) program this into the objects? I have uploaded the test model to blend exchange . The green block is constrained to only rotate around the origin on the Z plane. The red bar is constrained to movel only along the Y axis. I would like to move the red bar and see the green bar rotate as a consequence of the movement of the red bar. Is this possible or do I have to do all of the trigonometry? If I have to do the trig then how do I configure blender to use the calculation / formula?
The image shows the starting position
Thanks in anticipation