Hello,
I am making a Clock project that shows you an analogue clock with the current time to the second, but there is a slight problem. I have only put script into the second hand (the red one) yet, but I have put all the right code in (oh yeah, if there is a problem in my code, please let me know
What's problem you are encountering?
The second hand doesn't turn as if the end of it is connected to the middle of the clock face, and I don't know why. I've seen some other projects like mine, and they don't seem to have the same problem.
What have you tried that didn't work?
I have tried using 2 different blocks to solve the problem, these are: and
None of them seem to work.
Post a project example, link, or screenshot:
Here is the link: Clock Project
Is there a problem with my sprite, my code or something else?
Many thanks
Another way to change the sprite rotation center (pivot)
Right click on the sprite and select pivot
Set the pivot by dragging it at the best place...
Somes remarks for you:
(1000 operations is an example: you don't need warp here...)
Variables:
This run perfectly!
Good job, you are on the right way !
I can share one of my project if you want to see 3 different clock: 1 dont have any sprite (all drawing), 1 is like you with sprite and the last one is digital