How to rotate an frame around a certain point?

I am working on a radial loading bar and need to rotate a frame around a certain point, any help?

It’s pretty simple if you understand the concept of the unit circle.

Namely, this is what you want to take away from it (keep in mind it has a radius of one):

Try to figure it out, post code if you have a problem.

image

1 Like

I’ll look into it, thanks!

But a frame doesn’t rotate around its AnchorPoint.

1 Like

Ugh, you’re right. All this time I’ve been setting the anchor points to 0.5 whenever I needed to rotate something and I naturally assumed that I was setting the pivot for rotation.

1 Like

It rotates around the centre of the frame, not the anchor point itself.

2 Likes

I think there was a thread a while back about setting the rotation of a frame to be around its anchor point.

Here it is