Rotation of an object
...
Hello !...
I'm starting to work on the clock !... (What a challenge !...
)
I already manage to do many great things... But I have a problem with the rotation of the hands.
I want the students to be able to rotate the hands clockwise and anti-clockwise.
So I made a "+" button to rotate the minute hand clockwise. I use the cpt effect "rotate 6°" for each minute. And it works fine.
I also made à "-" button to rotate the same hand anti-clockwise (using also the cpt effect "rotate -6°"), and when I did so, the hand returns to its original (vertical) position before the rotation !...
So for example, if I rotate the minute hand to 20 using the "+" button, and then I want the hand to be on the 19, if I click on the "-" button, the hand returns to its original position before rotating... And this is not what I want !...
Don't know If I'm crystal clear !...
...
I will make some screenshots !... ![]()

And I clik on the "-" button one time this happens :

So the minute hand returns to its original position before rotating, and I want to avoid that !...
Is this possible ??...
...
I also made a button to reinitialize everything (Remise à zéro) but I don't know how to make the hands returning to their initial positions (vertical)...
...
And as I'm here another question :
I found the cpt variables for the hour and the minute... but not for the second !... Is it possible to get it ?...
...
Thanks in advance for your help !...
![]()
...
