Copy link to clipboard
Copied
Hi,
I am trying to do same animation from a gif using if else expression. I cant figure out what am doing wrong. I need guidance. :'(
Rotations are counted continuously. It will be 180 degree exactly once. You need to use the modulus to "reset" the value for every cycle:
rotation % 360 > 180
Mylenium
Copy link to clipboard
Copied
Rotations are counted continuously. It will be 180 degree exactly once. You need to use the modulus to "reset" the value for every cycle:
rotation % 360 > 180
Mylenium
Copy link to clipboard
Copied
😮 😮 😮 😮
Thank you so much. 😮 So many things yet to know. 😮