Announcement

Collapse
No announcement yet.

Increased value falloff / curve ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Increased value falloff / curve ?

    I'm increasing a float value (range 0 - 1) by x amount but want to make it falloff / curve as it increases, so it's quicker to get to 0.5 than it is to get to 1. I'm useless at math so it's hurting my head. Should I use a Curve BP or other, or just stick with plain simple math ?

    #2
    look into blueprint function node. I mean not creating your own functions, but there is node that lets you draw graph for float

    Comment


      #3
      Can't find a reference anywhere.

      Comment


        #4
        Because it was recently renamed to curve. You need curve float.

        First create float curve asset:

        Click image for larger version

Name:	curve_float_a.png
Views:	8
Size:	207.8 KB
ID:	1463716

        Then in your blueprint create variable that references that asset:

        Click image for larger version

Name:	curve_float_b.PNG
Views:	8
Size:	45.7 KB
ID:	1463717


        Then read function values in blueprint:

        Click image for larger version

Name:	curve_float_c.PNG
Views:	8
Size:	41.0 KB
ID:	1463718
        Last edited by Nawrot; 04-19-2018, 04:46 PM.

        Comment


          #5
          Still can't find what you mean ...
          Attached Files

          Comment


            #6
            I know its is hard to get it first time, so i made some pictures.

            PS. if you doubleclick curve float asset you get to small editor.

            Comment


              #7
              I only got the first line of your post before my last post so I didn't see the pictures. :-(

              As I mentioned creating a Curve BP I was referring to the same thing but I guess is not really a BP. Is it easier this way than math ?

              Comment


                #8
                Yes it is much easier, you can edit and basically "paint" that curve.

                Comment


                  #9
                  Thanks for the help.

                  Comment

                  Working...
                  X