Controlling "Enable Time Remapping" with a Slider?


#1

Hey Guys,

I’m trying to trigger the animation of one layer, using another Null Layer with a Slider. When I pick-whip the Enable Time Remapping of the Animation Layer to the Slider of the Null Layer, the Time Remap Value only displays the last frame of the animation.

Is there a way to Enable Time Remapping via Slider?

Best,
Andy.


#2

I don’t follow. There is no such thing as a “Enable Time Remapping” property, only the normal time remapping, so nothing can be picked to toggle it. The rest of your description is rather vague, but presumably all you are looking for is a simple multiplication of your slider value with the time remapping. I just don’t see any advantage in your methodology. That could just as well be done using normal keyframes on the time remapping itself. Conditionally triggering events is a whole different matter and then your slider is of no use at all, either. Please clarify.

Mylenium


#3

Hey Mylenium,

Thanks for your response! I guess I was a little vague with my description. And you’re right, I meant standard “Time Remapping.” If you right-click the layer and select “time,” the option to Time Remap says “Enable Time Remapping.” That’s probably where I got confused.

Anyways, I wanted to trigger the Time Remapping by a null that could be placed anywhere along the timeline. I’ve managed to get it working through trial and error, but I’m not exactly sure of the math involved.

You see, I’ve linked the Time Remap of a layer that has 56 frames of animation (I only need frames 30-56) to a Slider on a Null (the value of the slider for frames 30-56 is 1.01-1.87–I’m not sure what the relevance behind those numbers corresponding to the frames are). So the animation is triggered by wherever the null is placed on the timeline.

It works and I’m satisfied with the results, I’d just like to have a better understanding of how those numbers are defined.


#4

the value of the slider for frames 30-56 is 1.01-1.87–I’m not sure what the relevance behind those numbers corresponding to the frames are

The numbers are corresponding seconds, I presume… I’m assuming you are working with 29.97 fps footage.

30/29.97 = 1.001 ≈ 1 (seems a bit off)
56/29.97 = 1.869 ≈ 1.87


#5

Gaso,

That makes perfect sense now! Thank you so much!

Best,
Andy.


#6

Yes, as explained, AE thinks in time, that is in real seconds. If it confuses you, you may wish to either switch to frame number display (Ctrl+click on the time readout in the timeline) or add an auxiliary text layer somewhere that converts the values with a simple expression:

timeToFrames([i]insert reference to time remapped layer here[/i])

Mylenium


#7

or just

“time/thisComp.frameDuration” will also give you the current frame


#8

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.