I have already spent few hours and I just cannot figure it out.
How is Rotation implemented on a CCDrawNode, for example a simple line.
Let's say we have that line:
myObject.DrawLine(from: new CCPoint(5, 5), to: new CCPoint(25, 5), lineWidth: 1, lineCap: CCLineCap.Round, color: myColor);
Now I would like to rotate that line, let's say 45 degrees to the right (so positive value), like a rotating propeller (angle in the middle):
myObject.RotationY = 45;
But what happens now is that the line is being rotated on a big circle, changing the Y position (the value itself does not change).
What am I doing wrong here?