Zum Hauptinhalt gehen

Suche

Rewind timeline slowly?

  • Echarin

    The following is what I've done in my level to give myself control over the timeline. It might be a bit more complicated than what you need, but it will do the job.

    Stamp down a variable and give it a nice, descriptive name like playheadPosition.

    This will be the value sent to the playhead, so go ahead and grab a wire from the variable's Current Value and plug that into the playhead's input (it's on the timeline, at the very bottom of the playhead itself).

    Give the variable a minimum value of 0 and a maximum value of 1.

    Important thing to note: when that variable is 0 it means the playhead will be at the start, and when it's 1 it'll be at the end.

    Also place a Variable Modifier and tell it to modify playheadPosition, and set it to Add.
    Next you'll need to place a Calculator gadget set to Divide. You'll need to play around with these values to get what you need, but to start with set A to 1 and B to 100. If that makes the timeline play too slowly, increase A. If it's too fast, decrease A.
    Plug the Result from the Calculator into the Operation Value of the Variable Modifier.

    Great, you've made a way to play the timeline! Wait, that was already a feature of the timeline...

    Anyway, all you need to do to play the timeline in reverse is to turn the number going from the Calculator into the Variable Modifier into a negative number.

  • Echarin

    Actually, set the variable to have a maximum of 100, then plug the value from that into a Calculator gadget set to Divide, and divide that by 100 before sending it to the playhead.

  • davidnorth100

    To avoid variables etc how about another timeline who's position you read and invert to drive the other?

  • kemengjie33

    I just made a level with this. "Animation test with playback controls." Getting the timeline to go back and forth is actually rather simple, but having audio play backwards means you have to go into the granular synthesis section of all your audio and turn that on. Then have a wire carrying your negative signal go into the time stretch input under the Granular synthesis tweak. Anyway you can check out the logic in the scene for a better idea.
    Only thing I can't figure out is finding a way to skip around the timeline (jump forward, jump back) and have the audio work normally.

  • madduey

    Cant thank you both enough. Will have a look and try these out when i get chance. I can rewind it manually myself using slider but having logic operate the slider both ways and at set % is tricky as hell. Still I'll persevere with it and try your suggestions. Thanks again

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.