Negative value on AnimationCurve

Forums 💬 NodeCanvas ⚙️ Support Negative value on AnimationCurve

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #19117
    chrisk
    Participant

      Hi, I just purchased NodeCanvas and I think it has great potential!
      The first thing I did was to create an ActionNode with Curve Tween Task to animation position back-and-forth.
      The AnimationCurve has negative value but it seems like it’s clamp at 0.
      Does anyone know what’s going on?
      Thanks.

      -ck

      #19119
      Gavalakis
      Keymaster

        Hello and thanks!

        The Curve Tween task is a simple tweening task and yes it only works in positive values. I can take a look to make it more advanced.
        Meanwhile please use the rest of the tweening tasks which are a bit more advanced and where you can select an ease type without creating it with a curve 🙂

        Thanks!

        #19118
        chrisk
        Participant

          Hi, Gavalakis, thanks for the quick reply.

          The reason I’m using CurveTween is that I need to express “shake”, go back-and-forth many times when a character gets a damage.
          I guess I can do it with TweenPosition but it will probably require to have 10 or more of them.

          Thanks for taking a look. ^^

          ps. Hmm.. it seems like the limitation is from Unity itself. It’s more like a bug than a limitation. Unity is good at many things but it’s also bad at many things. ^^

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.