Skip to main content
S_ A
Inspiring
July 25, 2024
Answered

how to write expression in such case-6

  • July 25, 2024
  • 1 reply
  • 334 views

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. :'(

 

This topic has been closed for replies.
Correct answer Mylenium

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

1 reply

Mylenium
MyleniumCorrect answer
Legend
July 25, 2024

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

S_ A
S_ AAuthor
Inspiring
July 25, 2024

😮 😮 😮 😮

 

Thank you so much. 😮 So many things yet to know. 😮