Forum Discussion
Automatic rotate dial once
- 2 months ago
Jeroen,
There are many ways to accomplish this as Judy noted. Here's what's happening in the attached example:
- When the dials have zoomed onto the screen (at 1 second) a layer is called where the auto-spin occurs.
- A counter variable (I called it "Spin") is initially set to zero when the layer's timeline starts.
- A dummy shape (intentionally placed off the slide) is assigned a motion path with a 0.1 second duration.
- When the motion path completes, the animation starts again and Spin is incremented by 1 as long as Spin hasn't reached 10 yet.
- Each of your four dial variables is incremented to match the value of Spin when the dummy shape's motion completes.
- Once the full spin of each dial has occurred (i.e., Spin=10), the dial variables are reset to zero and the layer is hidden.
Because of the limitation of 0.1 for the minimum duration of a motion path, we can't use this same technique to spin the dials faster. However, there are other ways to accomplish the full spin much more quickly if need be.
Jeroen,
There are many ways to accomplish this as Judy noted. Here's what's happening in the attached example:
- When the dials have zoomed onto the screen (at 1 second) a layer is called where the auto-spin occurs.
- A counter variable (I called it "Spin") is initially set to zero when the layer's timeline starts.
- A dummy shape (intentionally placed off the slide) is assigned a motion path with a 0.1 second duration.
- When the motion path completes, the animation starts again and Spin is incremented by 1 as long as Spin hasn't reached 10 yet.
- Each of your four dial variables is incremented to match the value of Spin when the dummy shape's motion completes.
- Once the full spin of each dial has occurred (i.e., Spin=10), the dial variables are reset to zero and the layer is hidden.
Because of the limitation of 0.1 for the minimum duration of a motion path, we can't use this same technique to spin the dials faster. However, there are other ways to accomplish the full spin much more quickly if need be.
Wow, you already made it 🎉! Thank you very much 🙏!!
This was exactly what I was looking for! Will add it to the e-learning!