In an animation, I would like to rotate an object, while at the same time constricting its movement on the y-axis, but I can't figure out how.
After fiddling around with start and end frame of the rotation, in relation to the start and end frame of the translation along the y-axis, I tried parenting the 'door' to a cylinder (see screen shot below), but I can't stop top of the 'door' (marked by a purple 'x') moving along the z-axis, when the cylinder rotates.
So, my question is:
How can I get the setup the desired motion?
Screen capture of (faulty) animation
In the screen capture you can see the animation going wrong: the lower stud on the door should stay inside the curved rail. The curved rail is a a (quarted of a) circle.