I was wondering if anyone could help me with this problem. Check out this mock-up:

I currently have the green part of the drawing done. It is basically a platform with spider like legs that have motors to expand or shrink.
What I am trying to achieve is have another box (the blue line) attached to the platform that should always go through the middle of the red line, the centre of the 2 spider legs. Problem is that the red line can become longer or shorter. I really have no clue how to tackle this.
Hope someone can give me some tips on this?
Other than that I am amazed how easy to use this physics engine is, great work!
