I have a Bow and a hand attached in one CCSprite facing towards right. The anchor point is set at the shoulder, that is (0,0.5).
I
(o)-----I
I
Here suppose (o) is the anchor point,and now the whole structure is rotated to 90 degrees and -90 degrees. Now we know the angle to which we have rotated and the CGPoint of (o) , I need to find the coordinates of the upper and lower end of the structure.
So that when I have those points, I will draw a line from the center to both the points (to be seeming like Bow string).