Defining rotation point of an Picture

Hi



I was planing on implementing a compass in my small project. My problem is that I cannot find a way to define the point of a rotation of a Picture object.



I’m thankful for any tip.

General strategy: Make the picture a child of a node, offset the picture by the amount you want, rotate the node instead of the picture.

1 Like

thanks @pspeed. I got it to work

Actually you should be able to just rotate the picture by using Picture.rotate(), just make sure to specify 0, 0 for the X and Y axes

Momoko_Fan said:
Actually you should be able to just rotate the picture by using Picture.rotate(), just make sure to specify 0, 0 for the X and Y axes


Except that unless there is some magic I'm unaware of, I think that still just rotates around 0,0 of the picture which is what the original poster is trying to avoid.