• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

how to write expression in such case-6

Engaged ,
Jul 25, 2024 Jul 25, 2024

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

 

My animation red circleMy animation red circleThe one I am followingThe one I am following

TOPICS
Expressions , How to

Views

184

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Jul 25, 2024 Jul 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

Votes

Translate

Translate
LEGEND ,
Jul 25, 2024 Jul 25, 2024

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jul 25, 2024 Jul 25, 2024

Copy link to clipboard

Copied

LATEST

😮 😮 😮 😮

 

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines