How to rotate minute numbers like a minute-hand?

Sorry to dig up this 2022 topic.

I’ve set rotating numbers using a text field set to [MIN] for minutes with :
xpos = 190 x cos(((2 x 3.141592)/60) x [MIN])-(3.141592/2)
ypos = 190 x sin(((2 x 3.141592)/60) x [MIN])-(3.141592/2)

this is supposed to start the rotating numbers from 12 but it keeps starting from 3.

Where is my mistake ?

I’ve nailed it, it was the calculation order
xpos = 190 * cos((2 *3.141592 / 60) * [MIN] - (3.141592 / 2))
ypos = 190 * sin((2 *3.141592 / 60) * [MIN] - (3.141592 / 2))

but WHY is it that if I had a minute hand, at some points in rotated positions, at some angle, the hand is off the text center ?

1 Like

Because the Text positions is set from the bottom of the text . You have to offset for that in your Y orbit Formula .

I think the only mistake here is, that the thread is related to GWD for Tizen, which can not compile faces containing goniometric functions while you are talking about WFS. Everything else got covered meanwhile.

1 Like