-
Offset timing of 3rd and 4th Keyframe via slider
Hi there
What I would like to do is to control what time the 3rd and 4th keyframes (one second apart) begin via a slider.
e.g. If the slider value is 4, then the 3rd keyframe will start at 4 seconds and the 4th keyframe is at 5 seconds.
If the slider value is 10, then the 3rd keyframe will start at 10 seconds, and the 4th keyframe will be at 11 seconds.etc. etc.
I want to keep all the easing I already have between the two if that is possible.
So far I’ve been messsing around with:
if (numKeys > 2){
dur = (effect(Slider Control")("Slider"))
t = time - dur
valueAtTime(t)
} else
valueThis is sort of doing it but not quite…
Any suggestions would be awesome!
Thanks
James