I've a set up like this. image

I know the angles a,b,c which are the angles from the center pole to my stick. But I can't figure out how to apply the rotation to achieve this angle.

For e.g. a,b,c can be 90,90,0 which means my stick x axis is 90deg from the center pole, y 90 degree and z 0 which means my stick z axis is in parallel with the center pole.

These angles a,b,c I got are not the rotation angles that I can apply to my transform.

I'm stuck at how to rotate my object so that it maintains a particular angle with a reference object.

Any help is greatly appreciated. Thanks.