You keyframe the slider to go from zero to 360, hold at 360, then go back to zero. Spd = effect("Slider Control")("Slider") This is the new version of the expression: Your idea is to connect variable spd to a Slider Control and keyframe the slider value. Now you decide that you want to be able to manipulate the rotation speed. So far so good-it works as expected (see sidebar if you're wondering about the expression's use of value). This is how the expression looks, set up to rotate at 360 degrees (one revolution) per second: You have added a variable named spd to let you set the rotation speed. Imagine that you have created an expression for the Rotation property, based on the global attribute time, which generates a nice smooth rotation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |