HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. smithjohns
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 1
    • Groups 0

    smithjohns

    @smithjohns

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    smithjohns Unfollow Follow

    Latest posts made by smithjohns

    • RE: Lottie animation controlling parameters?

      @Brian said in Lottie animation controlling parameters?:

      I am currently experimenting with controlling Lottie animations using sliders, but once I set up the knob to control a parameter I lose the connection with the Lottie animation. I am sure there is a way to have all three of these elements linked but it's beyond my current coding skills.

      Here is a test project ( latest Scriptnode build and rLottie DLL needed):
      Got it — thanks for explaining what’s happening. From what you describe, it sounds like you’ve successfully set up a slider/knob to control a parameter, but in the process the link to the Lottie animation playback got overridden (likely because only one connection is being made at a time instead of merging them).

      What you probably need is a single control signal that both the Lottie animation and your knob/slider can “see.” In Scriptnode (and similar node-based systems), this usually means:

      Don’t directly replace the Lottie’s input with the knob.

      Instead, use a merge/multiply/mix node (or equivalent) to combine the knob value with the animation’s internal time parameter.

      Feed that merged output into the Lottie node, so the animation continues to play but is also scaled/offset by your slider.

      Another approach:

      Use the knob to control animation progress directly (frame / totalFrames), bypassing “playback.” That way the knob defines where in the animation you are, and you don’t depend on Lottie’s internal clock.

      If you want both free playback and manual knob scrubbing, you’ll need logic that chooses between “auto-time” and “knob-time” (for example, a switch or crossfade).

      If you share your node setup (or a screenshot), I can suggest the exact node combination to keep all three elements linked.

      posted in General Questions
      S
      smithjohns