Skip to main content
steveh74164893
Participant
October 11, 2022
Answered

Invert parameter ?

  • October 11, 2022
  • 1 reply
  • 641 views

Its been a while since i played with designer, I forget how to invert a parameter vaule? lets say I am remapping a float vaule  into a liner interpolate. How do I invert the vaules. Right now my slider is going in the wrong direction for what i want it to do, hope that makes sense?

This topic has been closed for replies.
Correct answer davescm

Putting that function ahead of whatever is your next step does invert the slider's action - just make sure that the values for float 0 and 1 are changed to match whatever you have set as min and max.

 

Dave

1 reply

davescm
Community Expert
Community Expert
October 11, 2022

For use with lerp just swap the a and b inputs to invert the output of the interpolation

In the example below, as the slider value increases, the lerp output decreases

 

 

Dave

steveh74164893
Participant
October 11, 2022

Yes, but its the slider action in the parameter that I want to invert

davescm
Community Expert
davescmCommunity ExpertCorrect answer
Community Expert
October 11, 2022

Putting that function ahead of whatever is your next step does invert the slider's action - just make sure that the values for float 0 and 1 are changed to match whatever you have set as min and max.

 

Dave