tips:movehands
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tips:movehands [2016/02/25 21:30] – jt3 | tips:movehands [2016/02/25 21:55] (current) – jt3 | ||
---|---|---|---|
Line 3: | Line 3: | ||
This tutorial will allow you to smoothly and realistically move the analog hands of a watch face to the 12:00 position (zero) and back to the current time, through the use of a tap action. | This tutorial will allow you to smoothly and realistically move the analog hands of a watch face to the 12:00 position (zero) and back to the current time, through the use of a tap action. | ||
- | This has been done countless times, and in many ways. The [[https:// | + | This has been done countless times, and in many ways. The [[https:// |
- | So... what's the point? | + | So... what's the point? |
===== Example ===== | ===== Example ===== | ||
Line 12: | Line 12: | ||
| | ||
| | ||
- | |||
==== Rotation Field of Objects ==== | ==== Rotation Field of Objects ==== | ||
Line 19: | Line 18: | ||
Hour Hand: {drh}*tweens.move | Hour Hand: {drh}*tweens.move | ||
| | ||
- | |||
==== Tap Action (Script) ==== | ==== Tap Action (Script) ==== | ||
if tweens.move==0 then | if tweens.move==0 then | ||
Line 26: | Line 24: | ||
| | ||
end | end | ||
- | |||
===== Explanation ===== | ===== Explanation ===== | ||
Line 41: | Line 38: | ||
In each hand's rotation field, The normal rotation value of the hands is simply multiplied by the value of tweens.move. | In each hand's rotation field, The normal rotation value of the hands is simply multiplied by the value of tweens.move. | ||
- | Then, all we need is a tap action. | + | Then, all we need is a tap action. |
One last thing: | One last thing: |
tips/movehands.1456435816.txt.gz · Last modified: 2016/02/25 21:30 by jt3