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

Stop clock animation

New Here ,
Feb 14, 2017 Feb 14, 2017

Copy link to clipboard

Copied

Hello,

I'm trying to create a stop watch animation. At the moment, I've got a hand rotating around the clock face over a minute using the following expression:

transform.rotation

degPerSec = 36; //degrees per second

degPerSec*time;

This give a constantly sweeping second hand though - what I'm looking to create is a second hand that snaps to a position in each second, rather than have it as a continuous animation.

Any pointers are greatly appreciated.

Cheers,

Paul

Views

410

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 , Feb 14, 2017 Feb 14, 2017

You could use the posterizeTime() expression.

Votes

Translate

Translate
LEGEND ,
Feb 14, 2017 Feb 14, 2017

Copy link to clipboard

Copied

You could use the posterizeTime() expression.

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
New Here ,
Feb 14, 2017 Feb 14, 2017

Copy link to clipboard

Copied

Perfect - thank you!

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
LEGEND ,
Feb 14, 2017 Feb 14, 2017

Copy link to clipboard

Copied

LATEST

Glad it worked for you! Please mark my post with the correct answer as the "correct answer" to close off this thread and to help others find the answer when they search in the future.

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