Need help with a model

I created a simple chest, that contain 2 parts: basis of the chest and a top of it, parrenting them after it. Then, placing a cursor on a certain point of the chest and using it, i can rotate a top of the chest along the Y-axis to open it and see what can i find inside. And under the chest there is a circle with arrow adjusted to it . My question is, when i rotate this circle-arrowish thingy along the Z-axis for 90 degree, i want the top of the chest rotate for 90 but for the Y-axis, using a cursor point position. How can i make that?

  • You should use bones and parent parts of you chest to bones. Also use bone with custom shape for you control object. Than you can use pose mode to control movement of your chest object.